2025-01-08 20:36:08 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
{{ section.content | safe }}
|
|
|
|
|
2025-01-11 15:25:33 +01:00
|
|
|
{% set section = get_section(path="_index.md") %}
|
|
|
|
{% set subsections = section.subsections | sort | reverse %}
|
|
|
|
{% for s in subsections %}
|
|
|
|
{% set ss = get_section(path=s) %}
|
|
|
|
<h2>{{ ss.title }}</h2>
|
|
|
|
{% set ps = ss.pages | sort(attribute="date") | reverse %}
|
|
|
|
<ul>
|
|
|
|
{% for page in ss.pages %}
|
2025-01-08 20:36:08 +01:00
|
|
|
<li>
|
|
|
|
<a href="{{ page.permalink | safe }}">{% if page.date and not config.extra.no_list_date %}{{ page.date }} - {% endif %}{{ page.title }}</a>
|
|
|
|
<br />
|
|
|
|
{{ page.description }}
|
|
|
|
</li>
|
2025-01-11 15:25:33 +01:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
2025-01-08 20:36:08 +01:00
|
|
|
{% endfor %}
|
2025-01-11 15:25:33 +01:00
|
|
|
{% endblock content %}
|