diff --git a/_layouts/categories.liquid b/_layouts/categories.liquid index 6f5022d597..c7648f09f5 100644 --- a/_layouts/categories.liquid +++ b/_layouts/categories.liquid @@ -9,7 +9,7 @@ layout: page {% for category in site.categories %}
  • - {{ category | first }} + {{ category | first }}
  • @@ -20,7 +20,12 @@ layout: page {% for category in site.categories %}
    {% capture group %}{{ category | first }}{% endcapture %} -

    {{ group }}

    +

    + {{ group }} + {% if page.showCounts %} + ({{site.categories[group].size}}) + {% endif %} +

    {% for post in site.categories[group] %} diff --git a/pages/categories.md b/pages/categories.md index 7b6acd44a6..b25b96ad0b 100644 --- a/pages/categories.md +++ b/pages/categories.md @@ -4,4 +4,5 @@ title: Categories permalink: /categories/ hide: true excluded: true +showCounts: false ---