{% extends "base.html" %} {% import "post_macros.html" as post_macros %} {% block content %} <h1>Posts in category "{{ term.name }}"</h1> {% for page in term.pages %} <p> <h2><a href="{{ page.permalink | safe }}">{{ page.title }}</a></h2> </p> {% endfor %} {% endblock content %}