Files
jacoblenz/.eleventy.js
Simon Martens 7bef8581b0 Initial commit
2022-12-30 16:29:30 +01:00

20 lines
672 B
JavaScript

module.exports = function (config) {
// Set static folder, which copntent will be copied to the output folder
config.addPassthroughCopy({ "src/static/": "/" });
return {
// Set custom directories for dynamic pages, data, includes, layouts and finally the generated output
dir:
{
input: "src/dynamic",
layouts: "../layouts",
includes: "../includes",
data: "../data",
output: "dist"
},
// Set template formats so that other files won't be included in dist
templateFormats: ["njk", "md", "html"]
};
};