ese-website/eleventy.config.js
2024-09-12 13:41:52 +02:00

17 lines
334 B
JavaScript

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",
},
pathPrefix: `/${year}/`,
}
};