docs/templates/section.html (386B)
1 {% extends "base.html" %}
2
3 {% block content %}
4 <div class="prose">
5 {{ page.content | safe }}
6 </div>
7
8 {%- if page.children %}
9 <ul class="children">
10 {%- for c in page.children %}
11 <li>
12 <a href="{{ c.url }}">
13 {{ c.title }}
14 {%- if c.description %}<span class="desc">{{ c.description }}</span>{% endif %}
15 </a>
16 </li>
17 {%- endfor %}
18 </ul>
19 {%- endif %}
20 {% endblock %}