summaryrefslogtreecommitdiffstats
path: root/templates/posts/header.html
blob: 0266f6e489dc7274c7afa79fc786b1bc2894940d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<header>
	<h1 class="post-title">{{ post.title }}</h1>
	<div class="post-meta">
		<span class="meta-publish">
			Publisert: {{ post.date }}
			{% if post.extra.author %}av {{ post.extra.author }}{% endif %}
		</span>
		{% if post.taxonomies %}
		<div class="meta-tags">
			Merket:&nbsp;
			{% for tag in post.taxonomies['tags'] -%}
			  <span>
					<a class="tag-link" href="{{ get_taxonomy_url(kind='tags', name=tag) | safe }}">
						{{ tag }}
					</a>
				</span>
			{% endfor -%}
		</div>
		{% endif %}
	</div>
</header>