mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-22 02:21:37 +01:00
Fix post_meta/reading_time (#427)
This commit is contained in:
parent
d2c4270bb2
commit
537ec0038f
@ -5,7 +5,7 @@
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- if (.Param "ShowReadingTime") -}}
|
{{- if (.Param "ShowReadingTime") -}}
|
||||||
{{- $scratch.Add "meta" (slice (i18n "read_time" .ReadingTime | default (printf "%s min" .ReadingTime))) }}
|
{{- $scratch.Add "meta" (slice (i18n "read_time" .ReadingTime | default (printf "%d min" .ReadingTime))) }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- with (partial "author.html" .) }}
|
{{- with (partial "author.html" .) }}
|
||||||
|
Loading…
Reference in New Issue
Block a user