From 537ec0038f9016f3833020521bcf82179a38da4e Mon Sep 17 00:00:00 2001 From: Lucas Eduardo Date: Fri, 11 Jun 2021 03:19:30 -0300 Subject: [PATCH] Fix post_meta/reading_time (#427) --- layouts/partials/post_meta.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" .) }}