diff --git a/_includes/nav.html b/_includes/nav.html index fdcf1e13267b8276eec7b9e8b4968ac2856b93b4..1c1dd2b76e0550ca7636b772b81dbd125ad1bbba 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -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>