+
+
+
{% if cave.entrances %}
+
Entrances
+ {% for ent in cave.entrances %}
+
{{ ent.entrance_letter|safe }}
+ {% if ent.entrance.marking %}
+ Marking: {{ ent.entrance.marking_val|safe }}
+ {% endif %}
+
+ {% endfor %}
+{% endif %}
+
+
+
{% if cave.explorers %}
+
Explorers
+ {{ cave.explorers|safe }}
+{% endif %}
+{% if cave.underground_description %}
+
Underground Description
+ {{ cave.underground_description|safe }}
+{% endif %}
+{% if cave.equipment %}
+
Equipment
+ {{ cave.equipment|safe }}
+{% endif %}
+{% if cave.references %}
+
References
+ {{ cave.references|safe }}
+{% endif %}
+{% if cave.survey %}
+
Survey
+ {{ cave.survey|safe }}
+{% endif %}
+{% if cave.kataster_status %}
+
Kataster_status
+ {{ cave.kataster_status|safe }}
+{% endif %}
+{% if cave.underground_centre_line %}
+
Underground Centre Line
+ {{ cave.underground_centre_line|safe }}
+{% endif %}
+{% if cave.survex_file %}
+
Survex File
+ {{ cave.survex_file|safe }}
+{% endif %}
+{% if cave.notes %}
+
Notes
+ {{ cave.notes|safe }}
+{% endif %}
+
+
+
+
{% for logbookentry in cave.logbookentry_set.all %}
{% if logbookentry.title %}
@@ -14,59 +96,10 @@
{% endif %}
{% endfor %}
-{% endblock %}
-
-{% block content %}
-
-{% if cave.entrances %}
-
Entrances
- {% for ent in cave.entrances %}
-
{{ ent.entrance_letter|wiki_to_html_short }}
- {% if ent.entrance.marking %}
- Marking: {{ ent.entrance.marking_val|wiki_to_html_short }}
- {% endif %}
-
- {% endfor %}
-{% endif %}
-
-{% if cave.explorers %}
-
Explorers
- {{ cave.explorers|wiki_to_html }}
-{% endif %}
-{% if cave.underground_description %}
-
Underground Description
- {{ cave.underground_description|wiki_to_html }}
-{% endif %}
-{% if cave.equipment %}
-
Equipment
- {{ cave.equipment|wiki_to_html }}
-{% endif %}
-{% if cave.references %}
-
References
- {{ cave.references|wiki_to_html }}
-{% endif %}
-{% if cave.survey %}
-
Survey
- {{ cave.survey|wiki_to_html }}
-{% endif %}
-{% if cave.kataster_status %}
-
Kataster_status
- {{ cave.kataster_status|wiki_to_html }}
-{% endif %}
-{% if cave.underground_centre_line %}
-
Underground Centre Line
- {{ cave.underground_centre_line|wiki_to_html }}
-{% endif %}
-{% if cave.survex_file %}
-
Survex File
- {{ cave.survex_file|wiki_to_html }}
-{% endif %}
-{% if cave.notes %}
-
Notes
- {{ cave.notes|wiki_to_html }}
-{% endif %}
-
-{% if cave.get_QMs %}
+
+
+
+
{% if cave.get_QMs %}
Question marks
Extant
@@ -85,5 +118,9 @@
{% endif %}
{% endfor %}
-{% endif %}
+{% endif %}
+
+
+
+
{% endblock %}
diff --git a/templates/cavebase.html b/templates/cavebase.html
index 8e8132e..6e27111 100644
--- a/templates/cavebase.html
+++ b/templates/cavebase.html
@@ -1,28 +1,26 @@
-{% extends "base.html" %}
-{% load wiki_markup %}
+
+
-{% block title %}{{ cave.official_name|wiki_to_html_short }}{% endblock %}
-
-{% block contentheader %}
-