Add post count to category taxonomy

This commit is contained in:
2022-05-06 21:47:24 -05:00
parent 805dc65ccb
commit 9bee463a3c
6 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,6 @@
<div class="category-metadata" aria-label="{{ i18n "aria_category_metadata" }}">
<span class="category-meta-item" aria-label="{{ i18n "aria_category_post_count" }}">
{{ partial "icon.html" "newspaper" }}
{{ i18n "post_count" (len .Data.Pages) }}
</span>
</div>