Skip to content

Commit 537ec00

Browse files
authored
Fix post_meta/reading_time (#427)
1 parent d2c4270 commit 537ec00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/partials/post_meta.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{{- end }}
66

77
{{- if (.Param "ShowReadingTime") -}}
8-
{{- $scratch.Add "meta" (slice (i18n "read_time" .ReadingTime | default (printf "%s min" .ReadingTime))) }}
8+
{{- $scratch.Add "meta" (slice (i18n "read_time" .ReadingTime | default (printf "%d min" .ReadingTime))) }}
99
{{- end }}
1010

1111
{{- with (partial "author.html" .) }}

0 commit comments

Comments
 (0)