summaryrefslogblamecommitdiffstats
path: root/templates/posts/header.html
blob: eb5b2ec52be6085259f4e9f660b985b56662cd52 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12



                                                    
                                                                               






                                                                                       
                                                                                                                                   







                                                         
<header>
	<h1 class="post-title">{{ post.title }}</h1>
	<div class="post-meta">
		<span class="meta-publish">
			{% if post.date %}Publisert: {{ post.date }}{% endif %}
			{% 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, lang=lang) | safe }}">
						{{ tag }}
					</a>
				</span>
			{% endfor -%}
		</div>
		{% endif %}
	</div>
</header>