{% extends "base.html" %} {% block content %} {% for gallery in section.pages %} <a href="{{ gallery.permalink }}">{{ gallery.title }}</a> {% endfor %} {% endblock %}