I have a listings directory in the
content folder I try to make use of
.File.UniqueID but is there an option where I can tell Hugo to generate ids starting fro 1 and going on for example the page param
--- title: "Listing 1" date: 2023-05-25T18:14:06+03:00 draft: false listingID: 1 ---
I want the Hugo to automatically fill the unique id for each newly created page and keep consistency 1,2,3,4,5… and so on.
How to approach this