From c282e4b0a7b27fc27b6cedc9bb67c992fef89dcf Mon Sep 17 00:00:00 2001
From: Peter Mosses
Date: Wed, 21 Aug 2019 13:57:07 +0200
Subject: [PATCH] Update nav.html
Separating new PR from #188, since indpendent.
---
_includes/nav.html | 2 --
1 file changed, 2 deletions(-)
diff --git a/_includes/nav.html b/_includes/nav.html
index 6ab2dbc..4305801 100644
--- a/_includes/nav.html
+++ b/_includes/nav.html
@@ -10,7 +10,6 @@
{%- endif -%}
{{ node.title }}
{%- 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" -%}
{%- for child in children_list -%}
@@ -35,7 +34,6 @@
{%- endfor -%}
{%- endif -%}
- {%- endif -%}
{%- endif -%}
{%- endunless -%}