From 3af59176f4bfa6512a38acfad897dddbae916ca2 Mon Sep 17 00:00:00 2001 From: Peter Mosses <p.d.mosses@me.com> Date: Thu, 29 Aug 2019 14:40:38 +0200 Subject: [PATCH] Revert "Update nav.html" This reverts commit 209ac7be7db196dec85c5d0698189bf1f49a4488. --- _includes/nav.html | 2 -- 1 file changed, 2 deletions(-) diff --git a/_includes/nav.html b/_includes/nav.html index fdcf1e13..1c1dd2b7 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -20,7 +20,6 @@ {%- endif -%} <a href="{{ child.url | absolute_url }}" class="navigation-list-link{% if page.url == child.url %} active{% endif %}">{{ child.title }}</a> {%- if child.has_children -%} - {%- if page.url == child.url or page.parent == child.title -%} {%- assign grand_children_list = site.html_pages | where: "parent", child.title | sort:"nav_order" -%} <ul class="navigation-list-child-list"> {%- for grand_child in grand_children_list -%} @@ -30,7 +29,6 @@ {%- endfor -%} </ul> {%- endif -%} - {%- endif -%} </li> {%- endfor -%} </ul> -- GitLab