2022-06-03 08:26:49 +05:30
|
|
|
<h2>Table of Contents</h2>
|
|
|
|
{% if section.subsections -%}
|
|
|
|
<ul>
|
|
|
|
{% for subsec in section.subsections -%}
|
|
|
|
{% set sec_ = get_section(path=subsec) -%}
|
|
|
|
<li>
|
2022-07-23 13:43:15 +05:30
|
|
|
<a href="{{ sec_.permalink | safe }}{{ _ugly_url }}">{{ sec_.title }}</a>
|
2022-06-03 08:26:49 +05:30
|
|
|
{% if sec_.pages -%}
|
|
|
|
<ul>
|
|
|
|
{% for page_ in sec_.pages -%}
|
2022-07-23 13:43:15 +05:30
|
|
|
<li><a href="{{ page_.permalink | safe }}{{ _ugly_url }}">{{ page_.title }}</a></li>
|
2022-06-03 08:26:49 +05:30
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endif -%}
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% else -%}
|
|
|
|
<h3> No Sections Found </h3>
|
|
|
|
{% endif -%}
|