ese-website/eleventy.config.js

21 lines
420 B
JavaScript
Raw Normal View History

2024-09-12 13:41:52 +02:00
const { EleventyHtmlBasePlugin } = require("@11ty/eleventy");
// update this :)
const year = 2024;
module.exports = function(eleventyConfig) {
eleventyConfig.addPlugin(EleventyHtmlBasePlugin);
eleventyConfig.addGlobalData("year", year);
return {
dir: {
input: "content",
2024-09-13 17:04:16 +02:00
includes: "../_includes",
layouts: "../_layouts",
data: "../_data",
2024-09-12 13:41:52 +02:00
},
pathPrefix: `/${year}/`,
}
};