I know you can override URLs with front-matter, and that works exactly how it should. But to save manually adding the URL line to every .md file, can you somehow set the section name (via config) to generate with just the filename?
This should work:
[permalinks] post = "/:filename"
I had tried this and it didn’t seem to work. But I just needed to manually delete the publishdir folder and rebuild. Thank you.
@bep an interesting thing that happens here is if you have a content piece named index.md, then you end up with two root/ entries in your sitemap. The manual fix is to rename index.md to something else.