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

Revert "Update nav.html"

This reverts commit 0cfc0f03.
parent 5b74b442
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,6 @@
{%- endif -%}
<a href="{{ node.url | absolute_url }}" class="navigation-list-link{% if page.url == node.url %} active{% endif %}">{{ node.title }}</a>
{%- if node.has_children -%}
{%- if page.url == node.url or page.parent == node.title or page.grand_parent == node.title -%}
{%- assign children_list = site.html_pages | where: "parent", node.title | sort:"nav_order" -%}
<ul class="navigation-list-child-list ">
{%- for child in children_list -%}
......@@ -33,7 +32,6 @@
{%- endfor -%}
</ul>
{%- endif -%}
{%- endif -%}
</li>
{%- endif -%}
{%- endunless -%}
......
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