diff options
author | zhaohuabing <zhaohuabing@gmail.com> | 2022-04-11 12:20:25 +0300 |
---|---|---|
committer | zhaohuabing <zhaohuabing@gmail.com> | 2022-04-11 12:20:25 +0300 |
commit | 7f4cd4819e955b85a96e2315e681c307d9934ce8 (patch) | |
tree | b751c48f5924f351679f243c297648d7783b9f72 | |
parent | af6a9b4d491caeb4960088cbc786c10a4fa97bfc (diff) | |
parent | c1d2f12a07620b0ab83bf53048a665c73809f3fd (diff) |
Merge branch 'master' of https://github.com/zhaohuabing/hugo-theme-cleanwhite
-rw-r--r-- | layouts/partials/post_list.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/post_list.html b/layouts/partials/post_list.html index c20dd38..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" }} <!-- Don't show "Last Modified on" if update happened on the same day. --> {{ if (and (not .Lastmod.IsZero) (not (eq (dateFormat "2006-01-02" .Lastmod) (dateFormat "2006-01-02" .Date)))) }} <br>Last Modified on {{ dateFormat "Monday, January 2, 2006" .Params.LastMod }} |