From c1d2f12a07620b0ab83bf53048a665c73809f3fd Mon Sep 17 00:00:00 2001 From: Antoine Delia Date: Thu, 31 Mar 2022 17:11:32 +0200 Subject: Add "on" keyword between author name and date --- layouts/partials/post_list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/post_list.html b/layouts/partials/post_list.html index c8d423b..4f6f305 100644 --- a/layouts/partials/post_list.html +++ b/layouts/partials/post_list.html @@ -28,7 +28,7 @@ {{ end }} {{ end }} {{ else }} - Posted by {{ with .Params.author }}{{ . }}{{ else }}{{ .Site.Title }}{{ end }} {{ .Date.Format "Monday, January 2, 2006" }} + Posted by {{ with .Params.author }}{{ . }}{{ else }}{{ .Site.Title }}{{ end }} on {{ .Date.Format "Monday, January 2, 2006" }} {{ if (and (not .Lastmod.IsZero) (not (eq (dateFormat "2006-01-02" .Lastmod) (dateFormat "2006-01-02" .Date)))) }}
Last Modified on {{ dateFormat "Monday, January 2, 2006" .Params.LastMod }} -- cgit v1.2.3