my-website/templates/section.html

10 lines
268 B
HTML
Raw Normal View History

{% extends "base.html" %} {% block content %}
2021-07-19 00:06:21 +02:00
<h2>{{ section.title }}</h2>
<ul>
2023-03-10 15:08:43 +01:00
{% for page in section.pages %}
<li><a href="{{ page.permalink | safe }}">{{ page.title }}</a></li>
{% endfor %}
</ul>
2023-03-10 15:08:43 +01:00
<div>{{ section.content | safe }}</div>
{% endblock content %}