From 102d74c782e4e894334f42158bfe4a5b59b4fa5d Mon Sep 17 00:00:00 2001 From: Kaspar Etter Date: Wed, 16 Oct 2019 17:41:39 +0200 Subject: [PATCH 1/4] Fix duplicate entries in nav.html This commit resolves #207. --- _includes/nav.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/nav.html b/_includes/nav.html index d561a42..dafacc8 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -19,7 +19,7 @@ {%- endif -%} {{ child.title }} {%- if child.has_children -%} - {%- assign grand_children_list = site.html_pages | where: "parent", child.title | sort:"nav_order" -%} + {%- assign grand_children_list = site.html_pages | where: "parent", child.title | where: "grand_parent", node.title | sort:"nav_order" -%}