{% extends "base.html" %} {% block content %} Categories {% if terms %} {% for term in terms %} {{ term.name }} ({{ term.pages | length }}) {% endfor %} {% endif %} {% endblock content %}