Use LOCALE instead of DEFAULT_LANG to set og:locale
DEFAULT_LANG value is 'en' while og:locale format is 'en_US' which is the value of LOCALE as well. LOCALE is a list though!
This commit is contained in:
parent
52f805521e
commit
b6dbb3d340
@ -68,7 +68,9 @@
|
||||
{% endblock head %}
|
||||
|
||||
{% block opengraph %}
|
||||
<meta property="og:locale" content="{{ DEFAULT_LANG }}">
|
||||
{% for LOC in LOCALE %}
|
||||
<meta property="og:locale" content="{{ LOC }}">
|
||||
{% endfor %}
|
||||
<meta property="og:site_name" content="{{ SITENAME }}">
|
||||
{% endblock opengraph %}
|
||||
</head>
|
||||
|
Loading…
Reference in New Issue
Block a user