Skip to content
Snippets Groups Projects
Unverified Commit e97b718f authored by Peter Mosses's avatar Peter Mosses Committed by GitHub
Browse files

Update nav.html

Changed `site.html_pages` to `pages_list`, to repeat the nav order of the grandchildren in the nav panel.
parent 30e1ddcd
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@
{%- 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 -%}
{%- 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 -%}
<ul class="navigation-list-child-list">
{%- for grand_child in grand_children_list -%}
<li class="navigation-list-item {% if page.url == grand_child.url %} active{% endif %}">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment