From 30e1ddcdae64a71485fac3d090ad4d996d69c34d Mon Sep 17 00:00:00 2001 From: Peter Mosses <18308236+pdmosses@users.noreply.github.com> Date: Tue, 28 Apr 2020 08:08:34 +0200 Subject: [PATCH] Update _layouts/default.html --- _layouts/default.html | 1 + 1 file changed, 1 insertion(+) diff --git a/_layouts/default.html b/_layouts/default.html index 2dae34b8..f06bdff9 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> -- GitLab