mirror of
https://github.com/Theodor-Springmann-Stiftung/lenz-briefe.git
synced 2025-10-28 16:45:31 +00:00
21 lines
675 B
JavaScript
21 lines
675 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: "./SITE"
|
|
},
|
|
|
|
// Set template formats so that other files won't be included in dist
|
|
templateFormats: ["njk", "md", "html"]
|
|
};
|
|
};
|