fmouhart.epheme.re/templates/section.html

18 lines
433 B
HTML

{% extends "base.html" %}
{% block main %}
<main>
{{ section.content | markdown(inline = true) | safe }}
<div class="pages">
{% for sub in section.pages %}
<article class="post">
<div class="post_title">
<a href="{{ sub.path }}">{{ sub.title }}</a>
</div>
{% if sub.summary %}<div class="post_summary">{{ sub.summary | markdown(inline=true) | safe }}</div>{% endif %}
</article>
{% endfor %}
</div>
</main>
{% endblock %}