yannstatic/_includes/snippets/get-string-from-locale-config.html
2024-10-31 20:18:37 +01:00

8 lines
227 B
HTML

{%- include snippets/get-lang.html -%}
{%- assign _lang = __return -%}
{%- if include.locale[_lang] -%}
{%- assign __return = include.locale[_lang] -%}
{%- else -%}
{%- assign __return = include.locale.en -%}
{%- endif -%}