diff options
| author | Lucas Eduardo <lucas59356@gmail.com> | 2021-06-11 03:19:30 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-11 11:49:30 +0530 |
| commit | 537ec0038f9016f3833020521bcf82179a38da4e (patch) | |
| tree | a72b6ef8172f4303a32131219cfcd4351b5ca2c4 | |
| parent | d2c4270bb2a4e935304a6f6bfe3e9c368fe6d24e (diff) | |
Fix post_meta/reading_time (#427)
| -rw-r--r-- | layouts/partials/post_meta.html | 2 |
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" .) }} |
