fix reading time

This commit is contained in:
2023-05-22 22:28:39 +03:00
parent f85ad79103
commit bba2a33711
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ which templates loop over to generate a list of posts. --}}
<footer class="post-card-meta">
<time class="post-card-meta-date" datetime="{{date format="YYYY-MM-DD"}}">{{date}}</time>
{{#if reading_time}}
<span class="post-card-meta-length">{{reading_time}}</span>
<span class="post-card-meta-length">{{reading_time minute=(t "1 min read") minutes=(t "% min read")}}</span>
{{/if}}
{{#if @site.comments_enabled}}
{{comment_count}}