From c4a73104d19eee2a0dd4b1718c415de789b1edec Mon Sep 17 00:00:00 2001 From: uvok cheetah Date: Wed, 8 Jan 2020 23:15:00 +0100 Subject: add flag to determine whether to include page in navbar --- _includes/header.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to '_includes') 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 @@
- + #} - + {# 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" %} {{ my_page.title | escape }} {% endif %} -- cgit v1.2.3