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) -%}
|
2022-07-23 13:43:15 +05:30
|
|
|
<li><a href="{{ sec_.permalink | safe }}{{ _ugly_url }}">{{ sec_.title }}</a></li>
|
2022-06-03 06:55:00 +05:30
|
|
|
{% 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 -%}
|
2022-07-23 13:43:15 +05:30
|
|
|
<li><a href="{{ page.permalink | safe }}{{ _ugly_url }}">{{ page.title }}</a></li>
|
2022-06-03 06:40:23 +05:30
|
|
|
{% 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 %}
|
|
|
|
|
|
|
|
|
|
|
|
|