Do all the | default in the language files and access lang strings in index using simple variables

This commit is contained in:
Samuel Shifterovich
2018-12-15 17:20:27 +01:00
parent 6cee717a86
commit f66ad97134
4 changed files with 13 additions and 19 deletions

View File

@ -0,0 +1,3 @@
{% assign title = include.lang.title | default: include.en.title %}
{% assign quote = include.lang.quote | default: include.en.quote %}
{% assign talk_name = include.lang.talk_name | default: include.en.talk_name %}