diff --git a/app/config/sculpin_site.yml b/app/config/sculpin_site.yml index a10f3ccab..446070927 100644 --- a/app/config/sculpin_site.yml +++ b/app/config/sculpin_site.yml @@ -36,6 +36,7 @@ drupalorg: features: new_css: false + show_blog_post_count: true github: url: https://github.com/%github.username% diff --git a/source/_pages/blog.html.twig b/source/_pages/blog.html.twig index 7fc8af02b..bcb51dc59 100644 --- a/source/_pages/blog.html.twig +++ b/source/_pages/blog.html.twig @@ -7,6 +7,10 @@ pagination: use: [posts] --- +{% if site.features.show_blog_post_count %} + {{ data.posts|length|number_format }} +{% endif %} +