If your blog is #BuiltWith11ty and you use a classic `/yyyy/mm/dd/title` URL structure, I have a new blog post for you: #Eleventy (#11ty) year, year-month, and year-month-day indexes: https://blog.tomayac.com/2024/11/02/eleventy-11ty-year-year-month...
-
If your blog is #BuiltWith11ty and you use a classic `/yyyy/mm/dd/title` URL structure, I have a new blog post for you: #Eleventy (#11ty) year, year-month, and year-month-day indexes: https://blog.tomayac.com/2024/11/02/eleventy-11ty-year-year-month-and-year-month-day-indexes/. Who doesn't like hackable πͺ URLs?
`/yyyy/mm/dd/title`
`/yyyy/mm/dd/`
`/yyyy/mm/`
`/yyyy/`Thanks to @zachleat for @eleventy and the ecosystem like the image plugin around it!
-
Caleb Hearth :d6:replied to Thomas Steiner :chrome: last edited by
@tomayac @zachleat @eleventy @markllobrera Iβve never really understood the appeal of date-based blog post URLs in the general case. If a year or month are relevant enough I can include them in the slug. Do you have a use-case that I havenβt thought of?
-
Thomas Steiner :chrome:replied to Caleb Hearth :d6: last edited by
@caleb It's simply a thing I got used to doing from my earliest blogging days. I don't really post frequently enough for it to make a lot of sense to be honest, but it sure is adequate for frequent bloggers like @Edent: https://shkspr.mobi/blog/2024/10/.
-
Terence Edenreplied to Thomas Steiner :chrome: last edited by
@tomayac @caleb
I wrote this about dates in URls a decade ago - https://shkspr.mobi/blog/2015/02/why-your-blog-urls-should-contain-dates/Basically, semantic information is good.
But, ultimately, no one is policing this. Do as you please. -
Zach Leatherman :11ty:replied to Thomas Steiner :chrome: last edited by