Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> the best feature-rich one is zola

I wouldn't call a generator that does not support dates in URLs feature-rich. Zola seems extremely opinionated. Dates in URLs are supported by nearly every SSG out there and it seems quite crucial if you want to migrate from one of those and keep your (cool) URLs.



> does not support dates in URLs feature-rich.

If I’m getting what you mean correctly, Zola does support that, look for index transparency, add “transparent = true” to your _index.md, this post explains it for adding “blog” prefix [1] but you can do it with year prefix, then month prefix inside, your folders structure will be years, inside it months, inside it your posts, and your URL will be like this “site.com/year/month/title” (I did the same concept as you can see in these URLs [2]), that, or just write the date in your .md file as in “2023-May-some_title.md” like I did in my blog (empty blog, didn’t yet migrate but it explains it)[3]

[1] https://peterbabic.dev/blog/setting-url-prefix-in-zola

[2]

https://tamim.io/professional_projects/nerds-heavy-lift-dron...

https://tamim.io/resume/tech-stack/

[3] https://blog.tamim.io/2023-april-tbd-migrations




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: