summaryrefslogtreecommitdiffstats
path: root/templates/entrance_html.kml
diff options
context:
space:
mode:
authorMartin Green <martin.speleo@gmail.com>2023-05-08 22:32:49 +0100
committerMartin Green <martin.speleo@gmail.com>2023-05-08 22:32:49 +0100
commit77ed1b444c63f0ca8f095829c1e56054240f84eb (patch)
tree66833231849db72b3f291e4a9c618d51ed4cf091 /templates/entrance_html.kml
parentf7fca58c57890294691f852375c2a1d142da35a0 (diff)
downloadtroggle-77ed1b444c63f0ca8f095829c1e56054240f84eb.tar.gz
troggle-77ed1b444c63f0ca8f095829c1e56054240f84eb.tar.bz2
troggle-77ed1b444c63f0ca8f095829c1e56054240f84eb.zip
Hack to turn cave URL to absolute links, so they can work from anywhere on the website.
Diffstat (limited to 'templates/entrance_html.kml')
-rw-r--r--templates/entrance_html.kml2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/entrance_html.kml b/templates/entrance_html.kml
index b45b11b..48c694d 100644
--- a/templates/entrance_html.kml
+++ b/templates/entrance_html.kml
@@ -1,5 +1,5 @@
<dl>
- <a href="{{entrance.cavelist.0.url }}">Cave: {{entrance.cavelist.0.name }}</a>
+ <a href="/{{entrance.cavelist.0.url }}">Cave: {{entrance.cavelist.0.name }}</a>
{% if entrance.marking %}
<dt>Marking</dt><dd>{{ entrance.marking_val|safe }}</dd>
{% endif %}