From 7a4aaca82c3a688a7eae404667ac8f2e63808bae Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 25 Dec 2023 23:27:41 +0000 Subject: [PATCH] Add posts count to tag list --- website/blog/templates/blog/blog_post_tag_list_page.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/website/blog/templates/blog/blog_post_tag_list_page.html b/website/blog/templates/blog/blog_post_tag_list_page.html index e9f372a..70de575 100644 --- a/website/blog/templates/blog/blog_post_tag_list_page.html +++ b/website/blog/templates/blog/blog_post_tag_list_page.html @@ -12,6 +12,9 @@

{{ page.summary }}

+
+ {% with posts_count=page.get_listing_pages.count %}

{{ posts_count }} post{{ posts_count|pluralize }}

{% endwith %} +