my-website/templates/section.html

14 lines
333 B
HTML
Raw Normal View History

{% extends "base.html" %} {% block content %}
2021-07-19 00:06:21 +02:00
<h2>{{ section.title }}</h2>
<article>
<ul>
{% for page in section.pages %}
<li><a href="{{ page.permalink | safe }}">{{ page.title }}</a></li>
{% endfor %}
</ul>
2021-06-14 12:02:33 +02:00
<div>
{{ section.content | safe }}
</div>
</article>
{% endblock content %}