From 633ea5dbad65d9398250b0fbcf107b4c71374896 Mon Sep 17 00:00:00 2001 From: uvok cheetah Date: Wed, 8 Jan 2020 23:20:35 +0100 Subject: fix comment.liquid --- _includes/header.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to '_includes/header.html') diff --git a/_includes/header.html b/_includes/header.html index bddeee4..dd6294d 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -14,15 +14,18 @@
- {# + {% 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 - #} + - {# 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 #} + {% endcomment %} + + {% for my_page in site.pages %} + {% if my_page.title and my_page.autogen == nil and my_page.url != "/index.html" %} {{ my_page.title | escape }} {% endif %} -- cgit v1.2.3