my-website/templates/blog.html

13 lines
333 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>
<div>
{{ section.content | safe }}
</div>
</article>
{% endblock content %}