From 3bcafa0be9461124fcd2a09a58799e2fd1e7a505 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sat, 30 Oct 2021 20:27:01 +0530 Subject: [PATCH] Show full date on hovering over it in post-meta --- 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 8b5072a..4f86d4a 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 (.Date.Format (default "January 2, 2006" .Site.Params.DateFormat))) }} +{{- $scratch.Add "meta" (slice (printf "%s" (.Date) (.Date.Format (default "January 2, 2006" .Site.Params.DateFormat)))) }} {{- end }} {{- if (.Param "ShowReadingTime") -}}