Update _layouts/default.html

This commit is contained in:
Peter Mosses 2020-04-28 08:08:34 +02:00 committed by GitHub
parent b7fe6e0318
commit 30e1ddcdae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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>