summaryrefslogtreecommitdiff
path: root/_includes/header.html
diff options
context:
space:
mode:
Diffstat (limited to '_includes/header.html')
-rw-r--r--_includes/header.html15
1 files changed, 1 insertions, 14 deletions
diff --git a/_includes/header.html b/_includes/header.html
index 4663f3d..492dcd5 100644
--- a/_includes/header.html
+++ b/_includes/header.html
@@ -2,7 +2,6 @@
<!-- built from {% git_rev %} -->
<div class="wrapper">
<a class="site-title" rel="author" href="{{ "/index.html" | relative_url }}">{{ site.title | escape }}</a>
-
<nav class="site-nav">
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
<label for="nav-trigger">
@@ -12,20 +11,8 @@
</svg>
</span>
</label>
-
<div class="trigger" lang="en">
- {% comment %}
- my_page.autogen is populated by the pagination logic for all pages
- that are automatically created by the gem. Check for non-existence to exclude pagination pages from site.pages iterators
- ^-- alt: check for content
- add exclusion of /index to avoid having the link twice
- {% endcomment %}
- {% assign spag = site.pages | sort: "order" %}
- {% for my_page in spag %}
- {% if my_page.title and my_page.content and my_page.url != "/index.html" and my_page.in_navbar %}
- <a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
- {% endif %}
- {% endfor %}
+ {% include_cached navlinks.html %}
<a class="page-link" href="https://uvokchee.de/wiki/">Wiki</a>
<a class="rss-subscribe page-link" href="{{ "/feed.xml" | relative_url }}">RSS feed</a>
</div>