diff options
author | tdro <tdro@noreply.example.com> | 2022-07-04 20:17:39 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-07-04 20:17:39 -0400 |
commit | 8b8fd07be1f3c319df34d77595dcbeabc78fc7ed (patch) | |
tree | a0753e1690b40a38569936c0f9f61e1c048ee688 /themes/default/layouts/partials/meta-date-time.html | |
parent | 080d9b0f2355e2a87ac1f1ffd2e450041634f883 (diff) | |
download | canory-8b8fd07be1f3c319df34d77595dcbeabc78fc7ed.tar.gz canory-8b8fd07be1f3c319df34d77595dcbeabc78fc7ed.tar.bz2 canory-8b8fd07be1f3c319df34d77595dcbeabc78fc7ed.zip |
themes/default/layouts/partials/meta-date-time: Remove extra date white space
Diffstat (limited to 'themes/default/layouts/partials/meta-date-time.html')
-rw-r--r-- | themes/default/layouts/partials/meta-date-time.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/layouts/partials/meta-date-time.html b/themes/default/layouts/partials/meta-date-time.html index 127785b..45e890b 100644 --- a/themes/default/layouts/partials/meta-date-time.html +++ b/themes/default/layouts/partials/meta-date-time.html @@ -10,9 +10,9 @@ title="{{ .Date | time.Format "Posted: Monday, January 2, 2006 at 15:04:05 MST" }} {{ if .Lastmod.After .Date }}{{ .Lastmod | time.Format "Edited: Monday, January 2, 2006 at 15:04:05 MST" }}{{ end }}"> {{ (.Date.Local | time.Format "3:04 PM Jan 2 2006") -}} - {{ if .Lastmod.After .Date }} + {{ if .Lastmod.After .Date -}} (edited) - {{ end }} + {{- end -}} </time> {{- /* This comment removes trailing newlines and white spaces. */ -}} </a> |