From 996295595366e5da449ba9ab5858639e56616ad3 Mon Sep 17 00:00:00 2001 From: scarf Date: Mon, 29 Jul 2024 10:45:11 +0900 Subject: [PATCH] fix: revert `title` naively converting `title` to `datetime` have removed the ability to hover time to get full date. --- layouts/partials/post_meta.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/post_meta.html b/layouts/partials/post_meta.html index 090a4a95..5e90db48 100644 --- a/layouts/partials/post_meta.html +++ b/layouts/partials/post_meta.html @@ -1,7 +1,7 @@ {{- $scratch := newScratch }} {{- if not .Date.IsZero -}} -{{- $scratch.Add "meta" (slice (printf "" (.Date) (.Date | time.Format (default "January 2, 2006" site.Params.DateFormat)))) }} +{{- $scratch.Add "meta" (slice (printf "" (.Date) (.Date) (.Date | time.Format (default "January 2, 2006" site.Params.DateFormat)))) }} {{- end }} {{- if (.Param "ShowReadingTime") -}}