my-website/templates/blog.html

10 lines
275 B
HTML

{% extends "base.html" %} {% block content %}
<h3>{{ section.title }}</h3>
<article>
<ul>
{% for page in section.pages %}
<li><a href="{{ page.permalink | safe }}">{{ page.title }}</a></li>
{% endfor %}
</ul>
</article>
{% endblock content %}