init
This commit is contained in:
15
_includes/header.html
Normal file
15
_includes/header.html
Normal file
@ -0,0 +1,15 @@
|
||||
<header>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="{{ site.baseurl | append: '/' }}">Home</a>
|
||||
{% if jekyll.environment == 'local' %}
|
||||
<li><a href="{{ site.baseurl | append: '/private/' }}">Private</a>
|
||||
{% endif %}
|
||||
{% for page in site.pages | sort: 'sort_order', 'title' %}
|
||||
{% if page.categories contains 'global' %}
|
||||
<li><a href="{{ site.baseurl | append: page.url }}">{{ page.title }}</a>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
Reference in New Issue
Block a user