diff options
Diffstat (limited to 'templates/caveindex.html')
-rw-r--r-- | templates/caveindex.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/caveindex.html b/templates/caveindex.html index b38e69f..d9e4748 100644 --- a/templates/caveindex.html +++ b/templates/caveindex.html @@ -8,14 +8,14 @@ <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>
+ <li> <a href="{{ cave.get_absolute_url }}">{{cave.official_name|wiki_to_html_short}} ({{cave.href}})</a> </li>
{% endfor %}
</ul>
<h3>All caves</h3>
<ul>
{% for cave in caves %}
- <li> <a href="{% url cave cave.href %}">{{cave.official_name|wiki_to_html_short}} ({{cave.href}})</a> </li>
+ <li> <a href="{{ cave.get_absolute_url }}">{{cave.official_name|wiki_to_html_short}} ({{cave.href}})</a> </li>
{% endfor %}
</ul>
|