summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/tags/single.html27
1 files changed, 26 insertions, 1 deletions
diff --git a/templates/tags/single.html b/templates/tags/single.html
index 1e00fa6..ab0364c 100644
--- a/templates/tags/single.html
+++ b/templates/tags/single.html
@@ -1 +1,26 @@
-<span class="tag">{{ term.name }}</span>
+{% extends "base.html" %}
+{% block content %}
+<h1 class="tag">Tag: {{ term.name }}</h1>
+
+<p>Poster merket med &laquo;{{ term.name }}&raquo;:</p>
+
+{% for post in term.pages %}
+ <article class="post">
+ {% include "posts/header.html" %}
+ <section class="post-summary">
+ {% if post.summary %}
+ {{ post.summary | safe }}
+ {% else %}
+ {{ post.content | safe }}
+ {% endif %}
+ </section>
+ <footer>
+ {% if post.summary %}
+ <a href="{{ post.permalink }}">
+ {{ trans(key="moreprompt", lang=post.lang) }}
+ </a>
+ {% endif %}
+ </footer>
+ </article>
+{% endfor %}
+{% endblock content %}