Merge pull request #21 from MrSenko/locale

Use LOCALE instead of DEFAULT_LANG to set og:locale
This commit is contained in:
Gilson Filho 2016-01-18 08:41:17 -03:00
commit 1301b05998
1 changed files with 3 additions and 1 deletions

View File

@ -68,7 +68,9 @@
{% endblock head %} {% endblock head %}
{% block opengraph %} {% 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 }}"> <meta property="og:site_name" content="{{ SITENAME }}">
{% endblock opengraph %} {% endblock opengraph %}
</head> </head>