diff --git a/_includes/header.html b/_includes/header.html index 2c97b13..c476f71 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -1,16 +1,25 @@ - {{ site.nav.home | default: "Home" }} - {% if jekyll.environment == 'local' %} - Private + {% if site.home.hide_home %} + + {% else %} + {{ site.nav.home | default: "Home" }} {% endif %} - {% for page in site.pages | sort: 'sort_order', 'title' %} + + {% assign sorted_pages=(site.pages | sort: "sort_order") %} + + {% for page in sorted_pages %} {% if page.categories contains 'global' %} - {{ page.title }} + {{ page.title }} {% endif %} {% endfor %} + {% include additional_glboal_nav.html %} + + {% if jekyll.environment == 'local' %} + Private + {% endif %} \ No newline at end of file