diff options
Diffstat (limited to '_includes')
-rw-r--r-- | _includes/footer.html | 2 | ||||
-rw-r--r-- | _includes/navigation.html | 14 |
2 files changed, 9 insertions, 7 deletions
diff --git a/_includes/footer.html b/_includes/footer.html index e4e4acc..23ce2c8 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -1,4 +1,4 @@ <hr> <p> - Vse pravice pridržane. © {{ site.name }}, 2020 +Vse pravice pridržane. © {{ site.name }}, 2020 | zadnja sprememba: {{ site.time | date: site.short_datetime_format }} </p> diff --git a/_includes/navigation.html b/_includes/navigation.html index 3bb6f14..0570416 100644 --- a/_includes/navigation.html +++ b/_includes/navigation.html @@ -1,11 +1,13 @@ <nav> {% for item in site.data.navigation %} - [<a - href={{ item.link }} - {% if page.url == item.link %} class=current {% endif %} - > - {{ item.name}} - </a>] + {% if item.nav != false %} + [<a + href={{ item.link }} + {% if page.url == item.link %} class=current {% endif %} + > + {{ item.name}} + </a>] + {% endif %} {% endfor %} </nav> <hr> |