my-website/templates/section.html

14 lines
333 B
HTML
Raw Normal View History

{% extends "base.html" %} {% block content %}
2021-06-14 11:57:06 +02:00
<h3>{{ section.title }}</h3>
<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 %}