diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2016-02-12 22:54:13 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2016-02-12 22:54:13 +0100 |
commit | 02353b32cf826f768f5dc23f98bf4aa7284c3086 (patch) | |
tree | d1dc795416a91ddf6c8979292f29483844de91fd /blog/_includes | |
parent | f2f007dd32fbbb6521ccacc47199f9eb17f93f18 (diff) | |
download | norsk-urskog-main-02353b32cf826f768f5dc23f98bf4aa7284c3086.tar.gz norsk-urskog-main-02353b32cf826f768f5dc23f98bf4aa7284c3086.tar.bz2 norsk-urskog-main-02353b32cf826f768f5dc23f98bf4aa7284c3086.zip |
Allow "hidden" pages that don't show up in the menu.
Diffstat (limited to 'blog/_includes')
-rw-r--r-- | blog/_includes/menubar.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/blog/_includes/menubar.html b/blog/_includes/menubar.html index 02c8860..c1ccd77 100644 --- a/blog/_includes/menubar.html +++ b/blog/_includes/menubar.html @@ -4,7 +4,7 @@ <a class="page-link" href="{{ site.baseurl_root | append: "registration" }}">{% t titles.registration %}</a> {% endif %} {% for page in site.pages %} - {% if page.title %} + {% if page.title and (!page.hidden == true) %} <a class="page-link" href="{{ page.url | prepend: site.baseurl | remove: 'index.html' }}">{% page_title page.title %}</a> {% endif %} {% endfor %} |