Language changer with flag button. Grammar fixes.

This commit is contained in:
Mart-Erki.Noumees
2018-10-03 00:25:06 +03:00
parent 88639d1c93
commit 9d1c5cbda0
4 changed files with 20 additions and 12 deletions

View File

@@ -1,8 +1,4 @@
<!--
This iterates through navbar pages in current language
and gets url and name for navbar.
-->
{% for menu in site.data.i18n.pages.nav[page.language] %}
<li><a href="{{ menu[1].url}}">{{menu[1].name }}</a> </li>
{% endfor %}