From 4d6185b20655ae5ce9c21779e64fbb0680c4fbfd Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Mon, 8 Jun 2020 19:09:49 +0200 Subject: Dont try to display publish date if unknown. --- templates/posts/header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@

{{ post.title }}

- Publisert: {{ post.date }} + {% if post.date %}Publisert: {{ post.date }}{% endif %} {% if post.extra.author %}av {{ post.extra.author }}{% endif %} {% if post.taxonomies %} -- cgit v1.2.3