Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zhaohuabing/hugo-theme-cleanwhite.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzhaohuabing <zhaohuabing@gmail.com>2022-04-11 12:20:25 +0300
committerzhaohuabing <zhaohuabing@gmail.com>2022-04-11 12:20:25 +0300
commit7f4cd4819e955b85a96e2315e681c307d9934ce8 (patch)
treeb751c48f5924f351679f243c297648d7783b9f72
parentaf6a9b4d491caeb4960088cbc786c10a4fa97bfc (diff)
parentc1d2f12a07620b0ab83bf53048a665c73809f3fd (diff)
Merge branch 'master' of https://github.com/zhaohuabing/hugo-theme-cleanwhite
-rw-r--r--layouts/partials/post_list.html2
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 }}