my-website/templates/blog.html

11 lines
289 B
HTML

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