diff --git a/_layouts/default.html b/_layouts/default.html index 2dae34b84b846f530d0285fb133b38f4e68f8926..f06bdff90aae3360bd77b6714554a47bb65c9ece 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -75,6 +75,7 @@ layout: table_wrappers <hr> <h2 class="text-delta">Table of contents</h2> <ul> + {%- assign children_list = pages_list | where: "parent", node.title -%} {% for child in children_list %} {% if child.parent == page.title and child.title != page.title and child.grand_parent == page.parent %} <li>