From 85d82f4dfce3f2b791cffb6e3bcf70e0d0c6df25 Mon Sep 17 00:00:00 2001 From: Alexis Hovorka Date: Tue, 25 Oct 2022 10:59:23 -0600 Subject: [feat] Add post dates --- posts/index.njk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'posts/index.njk') diff --git a/posts/index.njk b/posts/index.njk index f695075..64ea7a6 100644 --- a/posts/index.njk +++ b/posts/index.njk @@ -13,6 +13,8 @@ {% set post = collections.all.slice(-1)[0] -%}

{{ post.data.title }}

+ {%- set postDate = post.date.toISOString().slice(0,10) %} +

{{ post.templateContent | fixAnchors(post.url) | safe }} -- cgit v1.2.3-70-g09d2