summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/posts/header.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/posts/header.html b/templates/posts/header.html
index 9340f87..eb5b2ec 100644
--- a/templates/posts/header.html
+++ b/templates/posts/header.html
@@ -2,7 +2,7 @@
<h1 class="post-title">{{ post.title }}</h1>
<div class="post-meta">
<span class="meta-publish">
- Publisert: {{ post.date }}
+ {% if post.date %}Publisert: {{ post.date }}{% endif %}
{% if post.extra.author %}av {{ post.extra.author }}{% endif %}
</span>
{% if post.taxonomies %}