Skip to content

Commit

Permalink
Fix post_meta/reading_time (adityatelange#427)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasew authored Jun 11, 2021
1 parent 2ebcd49 commit 8025bed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/post_meta.html
Original file line number Diff line number Diff line change
Expand Up @@ -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" .) }}
Expand Down

0 comments on commit 8025bed

Please sign in to comment.