mirror of
https://github.com/CoderSherlock/CoderSherlock.github.io.git
synced 2026-06-13 08:08:10 -07:00
Updated to new theme of TeXt
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
{%- include snippets/get-lang.html -%}
|
||||
{%- assign _lang = __return -%}
|
||||
{%- assign _local_lang = site.data.locale[_lang] -%}
|
||||
{%- assign _local_lang_en = site.data.locale.en -%}
|
||||
{%- if _local_lang == nil -%}
|
||||
{%- assign _local_lang = _local_lang_en -%}
|
||||
{%- endif -%}
|
||||
{%- if _local_lang[include.key] -%}
|
||||
{%- assign __return = _local_lang[include.key] -%}
|
||||
{%- else -%}
|
||||
{%- assign __return = _local_lang_en[include.key] -%}
|
||||
{%- endif -%}
|
||||
Reference in New Issue
Block a user