diff options
Diffstat (limited to 'templates/caveindex.html')
-rw-r--r-- | templates/caveindex.html | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/templates/caveindex.html b/templates/caveindex.html index d97aff8..b38e69f 100644 --- a/templates/caveindex.html +++ b/templates/caveindex.html @@ -4,7 +4,19 @@ {% block title %}Cave Index{% endblock %}
{% block content %}
+
+<h3>Notable caves</h3>
+<ul>
+{% for cave in notablecaves %}
+ <li> <a href="{% url cave cave.href %}">{{cave.official_name|wiki_to_html_short}} ({{cave.href}})</a> </li>
+{% endfor %}
+</ul>
+
+<h3>All caves</h3>
+<ul>
{% for cave in caves %}
-<p>{{ cave }} <a href="{{settings.URL_ROOT}}cave/{{ cave.kataster_number }}/">{{ cave.official_name|wiki_to_html_short }}</a> </p>
+ <li> <a href="{% url cave cave.href %}">{{cave.official_name|wiki_to_html_short}} ({{cave.href}})</a> </li>
{% endfor %}
+</ul>
+
{% endblock %}
\ No newline at end of file |