Commit sur main · 0047ea8 · @rmdes
getPostTypes put the date in the filename but advertised it as path segments: path: ${collection}/{yyyy}-{MM}-{dd}-{slug}.md url: ${collection}/{yyyy}/{MM}/{dd}/{slug} Eleventy derives a page’s URL from its input path and makes no such translation, so the URL returned in the Location header and shown as “Post will be created at …” does not resolve. The file is written correctly and the request succeeds, so nothing surfaces it. Write the date as directories instead, so the path Eleventy serves is the URL Indiekit reported. The url template is unchanged, so the URL scheme itself does not move. Verified against Eleventy 3: content/notes/2026/08/22/hello.md builds to _site/notes/2026/08/22/hello/index.html. Refs #902