17 lines
334 B
JavaScript
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}/`,
|
|
}
|
|
};
|