diff options
| author | Arne Rief <riearn@proton.me> | 2025-09-19 19:20:39 +0200 |
|---|---|---|
| committer | Arne Rief <riearn@proton.me> | 2025-09-19 19:20:39 +0200 |
| commit | a57a8f991a2a5960fc886aa8bfcfca9719cecfda (patch) | |
| tree | c3bcdf0ff5138c539fdbcf5d28b52951da6c2eca /layouts/partials/list/post-card.html | |
| parent | e754bed52740760c91be6b651887980a51cd59cf (diff) | |
Flat i18n tables
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 }} |
