summaryrefslogtreecommitdiffstats
path: root/templates/core
diff options
context:
space:
mode:
authorSam Wenham <sam@wenhams.co.uk>2019-02-23 15:30:58 +0000
committerSam Wenham <sam@wenhams.co.uk>2019-02-23 15:30:58 +0000
commita1f02e575f6c379fd1a66cbfdefe8b9f29800297 (patch)
tree5f9f1791ea31f765974087ae879f248f3a3c18be /templates/core
parentf58b1db9208b5a7509699b2a34f70fb275fb8b65 (diff)
downloadtroggle-a1f02e575f6c379fd1a66cbfdefe8b9f29800297.tar.gz
troggle-a1f02e575f6c379fd1a66cbfdefe8b9f29800297.tar.bz2
troggle-a1f02e575f6c379fd1a66cbfdefe8b9f29800297.zip
Prevent troggle adding the menu if there is one in the file
Add a Docker compose file to bring up a dev troggle easily Various PEP improvments
Diffstat (limited to 'templates/core')
-rw-r--r--templates/core/expedition_list.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/core/expedition_list.html b/templates/core/expedition_list.html
new file mode 100644
index 0000000..15baa6b
--- /dev/null
+++ b/templates/core/expedition_list.html
@@ -0,0 +1,14 @@
+{% extends "base.html" %}
+{% load wiki_markup %}
+{% load link %}
+
+{% block content %}
+<h1>Expeditions</h1>
+<ul>
+{% for expedition in object_list %}
+ <li>{{ expedition.year }} - <a href="{{ expedition.get_absolute_url }}">{{ expedition.name }}</a></li>
+{% empty %}
+ <li>No articles yet.</li>
+{% endfor %}
+</ul>
+{% endblock %} \ No newline at end of file