Skip to content
Snippets Groups Projects
Commit 3af59176 authored by Peter Mosses's avatar Peter Mosses
Browse files

Revert "Update nav.html"

This reverts commit 209ac7be.
parent 13ef1850
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
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