diff --git a/_layouts/default.html b/_layouts/default.html index b1d3c72435399b13422a79b7a36b51258cb5e8cf..e198b4bc286a5a1567bd7be8f88590158b5783bf 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -77,7 +77,7 @@ layout: table_wrappers {% assign children_list = site.pages | sort:"nav_order" %} <ul> {% for child in children_list %} - {% if child.parent == page.title and child.title != page.title %} + {% if child.parent == page.title and child.title != page.title and child.grand_parent == page.parent %} <li> <a href="{{ child.url | absolute_url }}">{{ child.title }}</a>{% if child.summary %} - {{ child.summary }}{% endif %} </li>