diff --git a/_layouts/default.html b/_layouts/default.html
index 2dae34b..f06bdff 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -75,6 +75,7 @@ layout: table_wrappers
Table of contents
+ {%- 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 %}
-