From 5d58a663016e07e007775dbd3b1b198548f453b3 Mon Sep 17 00:00:00 2001 From: Peter Mosses Date: Thu, 22 Aug 2019 07:58:09 +0200 Subject: [PATCH] Revert "Update nav.html" This reverts commit c282e4b0a7b27fc27b6cedc9bb67c992fef89dcf. --- _includes/nav.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_includes/nav.html b/_includes/nav.html index 4305801..6ab2dbc 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -10,6 +10,7 @@ {%- 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" -%} {%- endif -%} + {%- endif -%} {%- endif -%} {%- endunless -%}