diff options
Diffstat (limited to '')
-rw-r--r-- | _includes/navigation.html | 14 |
1 files changed, 8 insertions, 6 deletions
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> |