From 23aaaf05c67326bdd07d1599cc4e1a88294c5adc Mon Sep 17 00:00:00 2001 From: reuixiy Date: Wed, 21 Aug 2019 22:42:38 +0800 Subject: [PATCH] fix: reading time bug --- 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 d0e0859d..eabf464f 100644 --- a/layouts/partials/post-meta.html +++ b/layouts/partials/post-meta.html @@ -76,6 +76,6 @@ {{ end }} {{ if .Site.Params.displayReadingTime }} {{ $icon := replace (index $.Site.Data.SVG $.Site.Params.readingTimeIcon) "icon" "icon post-meta-icon" | safeHTML }} - {{ $icon }}{{ .ReadingTime }} {{ i18n "minute" }} + {{ $icon }}{{ .ReadingTime }} {{ i18n "minute" .ReadingTime }} {{ end }} \ No newline at end of file