From bf3d4fcf1b93875ebb436ed8f7645b851d65b2f4 Mon Sep 17 00:00:00 2001 From: Lewis Dale Date: Thu, 7 Mar 2024 14:51:31 +0000 Subject: [PATCH] Use git last modified as date --- src/blog/posts/posts.11tydata.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/blog/posts/posts.11tydata.js b/src/blog/posts/posts.11tydata.js index d65e2d2..fa20a36 100644 --- a/src/blog/posts/posts.11tydata.js +++ b/src/blog/posts/posts.11tydata.js @@ -1,5 +1,6 @@ module.exports = { tags: ['posts'], layout: 'post.njk', - permalink: "/post/{{ data.slug if data.slug else title | slugify }}/" + permalink: "/post/{{ data.slug if data.slug else title | slugify }}/", + date: "git Last Modified" } \ No newline at end of file