diff options
Diffstat (limited to 'layouts/partials/list/post-card.html')
| -rw-r--r-- | layouts/partials/list/post-card.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/list/post-card.html b/layouts/partials/list/post-card.html index 254cc6b..955e868 100644 --- a/layouts/partials/list/post-card.html +++ b/layouts/partials/list/post-card.html @@ -13,11 +13,11 @@ <!-- Uncomment for post meta info <p class="post-card__meta-info"> <span class="post-card__reading-time"> - {{ lang.Translate "list.reading_time" $post.ReadingTime | default (printf "Estimated reading time: %s min" $post.ReadingTime) }} + {{ lang.Translate "reading_time" $post.ReadingTime | default (printf "Estimated reading time: %s min" $post.ReadingTime) }} </span> | <span class="post-card__word-count"> - {{ lang.Translate "list.word_count" $post.WordCount | default (printf "%s words" $post.WordCount) }} + {{ lang.Translate "word_count" $post.WordCount | default (printf "%s words" $post.WordCount) }} </span> </p> --> @@ -41,7 +41,7 @@ {{- if gt (len .) 3 }} <li class="post-card__tags-item post-card__tags-more"> <span class="post-card__tags-more-count"> - +{{ sub (len .) 3 }} {{ lang.Translate "common.more" | default "more" }} + +{{ sub (len .) 3 }} {{ lang.Translate "more" | default "more" }} </span> </li> {{- end }} |
