Hi,
I’m looking for a way to get more tidiness in the backend when i have a lot of blog entries.
using subfolders for each year would help a lot:
blog/2019/this-is-a-blog-entry/item.md
blog/2019/something-interesting/item.md
blog/2019/whatever8/some-old-stuff/item.md
blog/2018/more-old-stuff/item.md
blog/2017/really-old-stuff/item.md
how do i tell twig to get it’s page.collection from the subfolders 2019/, 2018, /2017, … ?
and: i dont want the year in the url, so it should look like this:
https://my-url.com/blog/something-interesting
and not like this:
https://my-url.com/blog/2019/something-interesting
of course i could also use this structure:
blog/2019-this-is-a-blog-entry/item.md
blog/2019-something-interesting/item.md
blog/2019-whatever8/some-old-stuff/item.md
blog/2018-more-old-stuff/item.md
blog/2017-really-old-stuff/item.md
…and then use a slug in each item, but for simplicity i’d like to avoid this solution
ideas anyone?
Thanks!