aboutsummaryrefslogtreecommitdiff
path: root/templates/page.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/page.html')
-rw-r--r--templates/page.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/page.html b/templates/page.html
index 54b049f..c7b6351 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -11,9 +11,13 @@
{% block header %}
<h1>{{ page.title }}</h1>
<p class="publish-date">
+{% if page.date %}
{{ trans(key="published", lang=lang) }}
{{ page.date | date(format="%Y-%m-%d %H:%M UTC") }}
{{ trans(key="published_on", lang=lang) }}
+{% else %}
+ {{ trans(key="not_published", lang=lang) }}
+{% endif %}
{% if page.permalink is containing("weblog") %}
<a href="{% if lang != "en" %}/{{ lang }}{% endif %}/weblog">
{{ trans(key="weblog_title", lang=lang) }}