This commit is contained in:
Simon Martens
2024-08-15 18:20:29 +02:00
parent fd48a3da42
commit 2d2603a118
18 changed files with 5369 additions and 0 deletions

20
VIEW/.eleventy.js Normal file
View File

@@ -0,0 +1,20 @@
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: "./SITE"
},
// Set template formats so that other files won't be included in dist
templateFormats: ["njk", "md", "html"]
};
};