Open jurbank opened 1 month ago
Hi @jurbank, thanks for your feature request. Please test and review the pull request Dynamic slug subfolders
You can edit your config with something like that:
downloadPaths: {
md: "src/blog/",
mdSlugSubfolder: true,
img: "src/blog/",
imgSlugSubfolder: true,
movie: "src/blog/",
movieSlugSubfolder: true,
pdf: "src/blog/",
pdfSlugSubfolder: true,
},
markdownPaths: {
img: "./",
movie: "./",
pdf: "./",
},
Would be nice to be able to do something like this:
downloadPaths: { md: "content/blog/{slug}",
I'm trying to stick with the structure from the 11ty blog starter template: https://github.com/11ty/eleventy-base-blog
Currently, all of the images and md are seperate when seems to throw build errors when transforming from .md to .html