{% unless page.url == "/" %} {% endunless %}
{{ content }} {% if page.has_children == true %}

Table of contents

{% assign children_list = site.pages | sort:"nav_order" %}
    {% for child in children_list %} {% if child.parent == page.title and child.title != page.title %}
  • {{ child.title }}
  • {% endif %} {% endfor %}
{% endif %}