Show blog post count locally

Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
This commit is contained in:
Oliver Davies 2025-09-10 20:58:17 +01:00
parent 2c517f1d39
commit c5d71803a5
2 changed files with 5 additions and 0 deletions

View file

@ -36,6 +36,7 @@ drupalorg:
features:
new_css: false
show_blog_post_count: true
github:
url: https://github.com/%github.username%

View file

@ -7,6 +7,10 @@ pagination:
use: [posts]
---
{% if site.features.show_blog_post_count %}
{{ data.posts|length|number_format }}
{% endif %}
<ul>
{% for post in page.pagination.items %}
<li>