diff --git a/_includes/nav.html b/_includes/nav.html index dba0dea..170fcfb 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -1,7 +1,8 @@ {% assign pages_list = site.html_pages | sort:"nav_order" %} - {% for node in pages_list %} + {% for node in pages_list %} + {% unless node.nav_exclude %} {% if node.parent == nil or node.has_children == true %} {{ node.title }} @@ -19,6 +20,7 @@ {% endif %} {% endif %} - {% endfor %} + {% endunless %} + {% endfor %}