Skip to content

Commit

Permalink
fix: reading time bug
Browse files Browse the repository at this point in the history
  • Loading branch information
reuixiy committed Aug 21, 2019
1 parent ab53e7d commit 23aaaf0
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 @@ -76,6 +76,6 @@
{{ end }}
{{ if .Site.Params.displayReadingTime }}
{{ $icon := replace (index $.Site.Data.SVG $.Site.Params.readingTimeIcon) "icon" "icon post-meta-icon" | safeHTML }}
<span class="post-meta-item readingtime">{{ $icon }}{{ .ReadingTime }}&nbsp;{{ i18n "minute" }}</span>
<span class="post-meta-item readingtime">{{ $icon }}{{ .ReadingTime }}&nbsp;{{ i18n "minute" .ReadingTime }}</span>
{{ end }}
</div>

0 comments on commit 23aaaf0

Please sign in to comment.