only keep updated date meta-entry, update openring

This commit is contained in:
Siddhartha
2023-09-21 23:36:14 +05:30
parent 322ac0e8ea
commit 47190760c5
101 changed files with 1240 additions and 1080 deletions

View File

@@ -1,9 +1,5 @@
{{- $scratch := newScratch }}
{{- if not .Date.IsZero -}}
{{- $scratch.Add "meta" (slice (printf "<span title='%s'>🗓 %s</span>" (.Date) (.Date | time.Format (default "January 2, 2006" site.Params.DateFormat)))) }}
{{- end }}
{{- if not .Lastmod.IsZero -}}
{{- $scratch.Add "meta" (slice (printf "<span title='%s'>🔄 %s</span>" (.Lastmod) (.Lastmod | time.Format (default "January 2, 2006" site.Params.DateFormat)))) }}
{{- end }}