-
Dear eleven_ty nerds: if you have a bit of a one-off page in a
sample/
folder, and you want to processsample/index.njk
but provide a copy of any *other* file likesample/image.jpg
orsample/icon.svg
, is there a nice way to set that up conditionally in the config? Thanks! -
…in reply to @ckirknielsen
eleven_ty Found a solution thanks to this comment: github.com/11ty/eleventy/issues/379#issuecomment-779705668 I reworked it a bit to parse frontmatter to skip processing if a
isMicrosite
prop isn't provided, but overall great as-is. I'd love to make this into a plugin… balazsHIDEGHETY Thank you so much!