my-website/templates/section.html

12 lines
280 B
HTML
Raw Normal View History

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