61fdbcb83a
Avoid missing labels caused by languages outside of locales.
8 lines
218 B
HTML
8 lines
218 B
HTML
{% comment %}
|
|
Detect appearance language and return it through variable "lang"
|
|
{% endcomment %}
|
|
{% if site.data.locales[site.lang] %}
|
|
{% assign lang = site.lang %}
|
|
{% else %}
|
|
{% assign lang = 'en' %}
|
|
{% endif %}
|