diff --git a/_includes/nav.html b/_includes/nav.html index 1c1dd2b..fdcf1e1 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -20,6 +20,7 @@ {%- endif -%} {{ child.title }} {%- 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" -%}
{%- endif -%} + {%- endif -%} {%- endfor -%}