{% extends "base.html" %} {% block head %} {% endblock %} {% block content %} Collection: {% for cname in cnames %} {{ cname }} {% endfor %} Query: {% if results %} {% for result in results %} {{ result["id"] }} ({{ result["_id"] }}) {% endfor %} {% endif %} {% endblock %}