summaryrefslogtreecommitdiff
path: root/posts
diff options
context:
space:
mode:
Diffstat (limited to 'posts')
-rw-r--r--posts/tags.njk2
1 files changed, 2 insertions, 0 deletions
diff --git a/posts/tags.njk b/posts/tags.njk
index cba0555..f984630 100644
--- a/posts/tags.njk
+++ b/posts/tags.njk
@@ -21,6 +21,8 @@ eleventyComputed:
{% for post in taglist | reverse %}
<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>
<hr>