summaryrefslogtreecommitdiff
path: root/layouts/partials/post_meta.html
diff options
context:
space:
mode:
authorLucas Eduardo <lucas59356@gmail.com>2021-06-11 03:19:30 -0300
committerGitHub <noreply@github.com>2021-06-11 11:49:30 +0530
commit537ec0038f9016f3833020521bcf82179a38da4e (patch)
treea72b6ef8172f4303a32131219cfcd4351b5ca2c4 /layouts/partials/post_meta.html
parentd2c4270bb2a4e935304a6f6bfe3e9c368fe6d24e (diff)
Fix post_meta/reading_time (#427)
Diffstat (limited to 'layouts/partials/post_meta.html')
-rw-r--r--layouts/partials/post_meta.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/post_meta.html b/layouts/partials/post_meta.html
index 8536d1e..8b5072a 100644
--- a/layouts/partials/post_meta.html
+++ b/layouts/partials/post_meta.html
@@ -5,7 +5,7 @@
{{- end }}
{{- 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 }}
{{- with (partial "author.html" .) }}