From cfbc7f41df79f7a6a6261e0d20b4e8e81d5ce1a0 Mon Sep 17 00:00:00 2001 From: Peter Mosses <p.d.mosses@me.com> Date: Thu, 29 Aug 2019 14:41:21 +0200 Subject: [PATCH] Revert "Revert "Update nav.html"" This reverts commit 5d58a663016e07e007775dbd3b1b198548f453b3. --- _includes/nav.html | 2 -- 1 file changed, 2 deletions(-) diff --git a/_includes/nav.html b/_includes/nav.html index 6ab2dbcd..4305801a 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -10,7 +10,6 @@ {%- endif -%} <a href="{{ node.url | absolute_url }}" class="navigation-list-link{% if page.url == node.url %} active{% endif %}">{{ node.title }}</a> {%- if node.has_children -%} - {%- if page.url == node.url or page.parent == node.title or page.grand_parent == node.title -%} {%- assign children_list = site.html_pages | where: "parent", node.title | sort:"nav_order" -%} <ul class="navigation-list-child-list "> {%- for child in children_list -%} @@ -35,7 +34,6 @@ {%- endfor -%} </ul> {%- endif -%} - {%- endif -%} </li> {%- endif -%} {%- endunless -%} -- GitLab