<header>
	<nav>
		<ul>
			{% if site.home.hide_home %}
				<!-- home menu hidden per _config.yaml nav.hide_home_link -->
			{% else %}
				<li><a href="{{ '/' | relative_url }}">{{ site.nav.home | default: "Home" }}</a>
			{% endif %}

			{% assign sorted_pages=(site.pages | sort: "sort_order") %}
			
			{% for page in sorted_pages %}
				{% if page.categories contains 'global' %}
					<li><a href="{{ page.url | relative_url }}">{{ page.title }}</a>
				{% endif %}
			{% endfor %}
			
			{% include additional_glboal_nav.html %}
			
			{% if jekyll.environment == 'local' %}
				<li><a href="{{ '/private/' | relative_url }}">Private</a>
			{% endif %}
		</ul>
	</nav>
</header>