summaryrefslogtreecommitdiffstats
path: root/templates/tags/single.html
blob: ab0364c9d3609b6e5a0aa7dcee6204f5671d3d32 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{% 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 %}