summaryrefslogblamecommitdiffstats
path: root/templates/posts/header.html
blob: cc817675f964d6d8f556c0a7df9e923d241e4b17 (plain) (tree)
1
2
3
4
5



                                                    
                                                                               








                                                                                                                                                    





                                                                 
                                                                                                                                   







                                                         
<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.taxonomies['authors'] %}av
			  {% for author in post.taxonomies['authors'] -%}
					<span class="author">
						<a class="author-link" href="{{ get_taxonomy_url(kind="authors", name=author, lang=lang) | safe }}">
							{{ author }}
						</a>
					</span>
				{% endfor -%}
			{% 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>