mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-05-13 06:34:24 -04:00
Merge 9962955953
into 7cf752f864
This commit is contained in:
commit
ca43bfba5d
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
{{- $scratch := newScratch }}
|
{{- $scratch := newScratch }}
|
||||||
|
|
||||||
{{- if not .Date.IsZero -}}
|
{{- 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)))) }}
|
{{- $scratch.Add "meta" (slice (printf "<time title='%s' datetime='%s'>%s</time>" (.Date) (.Date) (.Date | time.Format (default "January 2, 2006" site.Params.DateFormat)))) }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- if (.Param "ShowReadingTime") -}}
|
{{- if (.Param "ShowReadingTime") -}}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue