{% extends 'layout.html' %} {% set active_page = 'photo' %} {% set title = 'Photography' %} {% block body %} Photography {% for photo in photos %} {% endfor %} {% if page > 1 %} ← Newer {% endif %} {% if has_next %} Older → {% endif %} {% endblock %}