Defining the 11ty Config is an important piece for 11ty to know things like:
module.exports = function (eleventyConfig) {
return {
templateFormats: ['njk']
dir: {
input: "src"
output: "dist",
includes: "_includes"
},
htmlTemplateEngine: "njk",
dataTemplateEngine: "njk"
}
}
Netlify gives us a couple of options for how we configure our projects:
netlify.toml
fileWe’re