summaryrefslogtreecommitdiff
path: root/posts/history.njk
diff options
context:
space:
mode:
Diffstat (limited to 'posts/history.njk')
-rw-r--r--posts/history.njk2
1 files changed, 2 insertions, 0 deletions
diff --git a/posts/history.njk b/posts/history.njk
index 76fbcd0..c3cdc50 100644
--- a/posts/history.njk
+++ b/posts/history.njk
@@ -16,6 +16,8 @@
<hr>
<section>
<h2><a href="{{ post.url }}">{{ post.data.title }}</a></h2>
+ {%- set postDate = post.date.toISOString().slice(0,10) %}
+ <p class="post-date"><time datetime="{{ postDate }}">{{ postDate }}</time></p>
{{ post | excerpt | safe }}
</section>
{% endfor %}