Photo by Anne Nygård on Unsplash

Count all pages from section in Hugo

If you want to display the total number of content pages that Hugo generated from a particular section use where to filter section pages:

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ronalds Vilcins

I drink a lot of tea and build beautiful websites. If you are looking to work together or just start a conversation 👉 https://www.ronaldsvilcins.com/