_includes/footer/index.html in word-games-theme-1.2.0 vs _includes/footer/index.html in word-games-theme-1.2.1
- old
+ new
@@ -254,11 +254,11 @@
<a class="active-lang" href="{{ page.permalink}}">English <i
class="fas fa-check ml-auto "></i> </a>
</li>
{%- else -%}
<li class="language-drop-down-item">
- {%- if dataFile.features -%}
+ {%- if dataFile.homePage -%}
<a href="/">English</a>
{%- else -%}
<a href="/{{ page.permalink | split: '/' | last}}">English
</a>
{%- endif -%}
@@ -278,10 +278,10 @@
{%- endif -%}
</li>
{%- else -%}
<li class="language-drop-down-item ">
{%- if page.permalink | split: '/' | last != item -%}
- {%- if dataFile.features -%}
+ {%- if dataFile.homePage -%}
<a href="/{{item}}">{{[item][1]}}
</a>
{%- else -%}
<a href="/{{item}}/{{ page.permalink | split: '/' | last}}">{{[item][1]}}
</a>
\ No newline at end of file