diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2020-06-08 19:09:49 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2020-06-08 19:09:49 +0200 |
commit | 4d6185b20655ae5ce9c21779e64fbb0680c4fbfd (patch) | |
tree | ba63a604ccd17d96a9499d75b1898fb33f3a855c /templates/posts/header.html | |
parent | 4f4bd92820a72f1c28c414f13cd6667886c056ac (diff) | |
download | rabalderz-4d6185b20655ae5ce9c21779e64fbb0680c4fbfd.tar.gz rabalderz-4d6185b20655ae5ce9c21779e64fbb0680c4fbfd.tar.bz2 rabalderz-4d6185b20655ae5ce9c21779e64fbb0680c4fbfd.zip |
Dont try to display publish date if unknown.
Diffstat (limited to 'templates/posts/header.html')
-rw-r--r-- | templates/posts/header.html | 2 |
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 %} |