Pages like content/2022-07-21_topic/index.md
or content/2022-07-21_topic.md
have the date removed, so zola will choose the slug: topic
.
For some blogs, the date is a key part of the page title, and this behavior leads to entries with the same slug.
I would like to have a config option to disable this behavior. Others have asked for this previously.
With this option, pages like content/2022-07-21_topic/index.md
or content/2022-07-21_topic.md
would keep their date, so zola would choose the slug: 2022-07-21-topic
.
The main code to change for this is here.