summaryrefslogtreecommitdiff
path: root/templates/post.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/post.html')
-rw-r--r--templates/post.html11
1 files changed, 8 insertions, 3 deletions
diff --git a/templates/post.html b/templates/post.html
index 20c3ac2..f61a2bd 100644
--- a/templates/post.html
+++ b/templates/post.html
@@ -22,9 +22,14 @@
<main>
<h1>{{ title }}</h1>
<p>
- <i><time datetime="{{ date }}" pubdate>
- {{ date }}
- </time></i>
+ <i>
+ <time datetime="{{ date.strftime('%Y-%m-%d') }}" pubdate>
+ {{ date.strftime('%Y-%m-%d') }}
+ </time>
+ {% if date != updated %}
+ (updated <time datetime="{{ updated.strftime('%Y-%m-%d') }}">{{ updated.strftime('%Y-%m-%d') }}</time>)
+ {% endif %}
+ </i>
{% if status == "draft" %}
• {{ status }}
{% endif %}