diff options
-rw-r--r-- | _includes/header.html | 7 | ||||
-rw-r--r-- | contact.html | 1 | ||||
-rw-r--r-- | poem.md | 1 |
3 files changed, 6 insertions, 3 deletions
diff --git a/_includes/header.html b/_includes/header.html index b3489c2..bddeee4 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -14,14 +14,15 @@ </label> <div class="trigger"> - <!-- + {# 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 - --> + #} - <!-- add exclusion of /index to avoid having the link twice --> + {# add exclusion of /index to avoid having the link twice #} {% for my_page in site.pages %} +{# check for in_navbar: true #} {% if my_page.title and my_page.autogen == nil and my_page.url != "/index.html" %} <a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a> {% endif %} diff --git a/contact.html b/contact.html index 82e2387..2acc24a 100644 --- a/contact.html +++ b/contact.html @@ -1,6 +1,7 @@ --- layout: page title: Kontakt +in_navbar: true --- <p> @@ -1,6 +1,7 @@ --- layout: page title: Gedicht +in_navbar: true --- > Uvok my name |