{% extends "cavebase.html" %} {% block title %}Entrance Index{% endblock %} {% block content %} <h1>Entrance Index</h1> <table> <theader> <tr><th>Name</th><th>Caves</th><th>Point</th><th>Position</th></tr> </theader> <tbody> <ul> {% for entrance in entrances %} <tr><td>{{ entrance }}</td><td>{% for cave in entrance.cavelist %}<a href="{{ cave.url }}">{{ cave }}</a>{% endfor %}</td><td>{{ entrance.best_station }}</td><td>{{ entrance.latlong }}</td></tr> {% endfor %} </tbody> </ul> {% endblock %}