A blog in posts/first-blog.md contains an image in posts/first-blog.assets/image.png.
By using:
module.exports = function(eleventyConfig) {
// ...
eleventyConfig.addPassthroughCopy("posts/**/**/*.png");
}
the directory posts/first-blog/first-blog.assets is copied to _site/posts/first-blog.assets.
Question: how can I set a rule so that it is copied to _site/posts/first-blog/first-blog.assets?
A blog in
posts/first-blog.mdcontains an image inposts/first-blog.assets/image.png.By using:
the directory
posts/first-blog/first-blog.assetsis copied to_site/posts/first-blog.assets.Question: how can I set a rule so that it is copied to
_site/posts/first-blog/first-blog.assets?