Categories
Jekyll

Displaying post count in Jekyll

We can display the total number of all posts or in particular with the following code.

{{ site.posts | size }}

To display count number for particular categories:

{{ site.categories.CAT | size }}