summaryrefslogtreecommitdiffstats
path: root/templates/tags/single.html
blob: 63660d0d03bc998f61ca7e53a339218dd8b5f0c1 (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
27
28
29
30
31
{% extends "base.html" %}
{% block opengraph %}
		<meta property="og:title" content="{{ term.name }}">
		<meta property="og:type" content="website">
		<meta property="og:url" content="{{ term.permalink | safe }}">
{% endblock opengraph %}
{% 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 %}