2022-05-29 14:32:38 +05:30
|
|
|
{% extends "index.html" %}
|
|
|
|
|
|
|
|
{% block title %} {{ config.title }} | {{ section.title }} {% endblock title %}
|
|
|
|
|
|
|
|
{% block content %}
|
2022-06-03 03:29:34 +05:30
|
|
|
{% if section.word_count > 0 -%}
|
2022-06-03 06:56:31 +05:30
|
|
|
{{ section.content | safe }}
|
2022-06-03 03:29:34 +05:30
|
|
|
{% else -%}
|
2022-06-03 06:40:23 +05:30
|
|
|
<h2 class="title"> {{ section.title }} </h2>
|
2022-06-03 06:55:00 +05:30
|
|
|
|
|
|
|
{% if section.subsections -%}
|
|
|
|
<h3>Subsections:</h3>
|
|
|
|
<ul>
|
|
|
|
{% for subsec in section.subsections -%}
|
|
|
|
{% set sec_ = get_section(path=subsec) -%}
|
|
|
|
<li><a href="{{ sec_.permalink | safe }}">{{ sec_.title }}</a></li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endif -%}
|
|
|
|
|
2022-06-03 06:40:23 +05:30
|
|
|
<h3>Pages:</h3>
|
2022-05-29 14:32:38 +05:30
|
|
|
<ul>
|
2022-06-03 06:40:23 +05:30
|
|
|
{% if section.pages -%}
|
|
|
|
{% for page in section.pages -%}
|
|
|
|
<li><a href="{{ page.permalink | safe }}">{{ page.title }}</a></li>
|
|
|
|
{% endfor -%}
|
|
|
|
{% else -%}
|
|
|
|
<li>No pages</li>
|
|
|
|
{% endif %}
|
2022-05-29 14:32:38 +05:30
|
|
|
</ul>
|
2022-06-03 03:29:34 +05:30
|
|
|
{% endif -%}
|
2022-05-29 14:32:38 +05:30
|
|
|
{% endblock content %}
|
|
|
|
|
|
|
|
|
|
|
|
|