From e97b718f5d65062c6bda7d5488584d5525b006f2 Mon Sep 17 00:00:00 2001 From: Peter Mosses <18308236+pdmosses@users.noreply.github.com> Date: Tue, 28 Apr 2020 18:07:50 +0200 Subject: [PATCH] Update nav.html Changed `site.html_pages` to `pages_list`, to repeat the nav order of the grandchildren in the nav panel. --- _includes/nav.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/nav.html b/_includes/nav.html index 7ce7259..5b8c587 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -29,7 +29,7 @@ {%- endif -%} {{ child.title }} {%- if child.has_children -%} - {%- assign grand_children_list = site.html_pages | where: "parent", child.title | where: "grand_parent", node.title -%} + {%- assign grand_children_list = pages_list | where: "parent", child.title | where: "grand_parent", node.title -%}