From 188b5fd89fe62df225ab6c6af1b4088cff9890ec Mon Sep 17 00:00:00 2001 From: Dan Cook Date: Sun, 31 Dec 2023 19:09:16 +0900 Subject: [PATCH] change date formatting --- _layouts/post.html | 4 ++-- index.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_layouts/post.html b/_layouts/post.html index 2a6c7c1..b986605 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -4,7 +4,7 @@

{{ page.title }}

- + {{ content }}
@@ -16,7 +16,7 @@

Related Posts

{{ post.title }} - {{ post.date | date_to_string }} + {{ post.date | date: "%Y-%d-%m" }}

diff --git a/index.html b/index.html index e836353..6f63cf4 100644 --- a/index.html +++ b/index.html @@ -12,7 +12,7 @@

- {{ post.date | date_to_string }} + {{ post.date | date: "%Y-%m-%d" }} {{ post.content }}