This repository has been archived on 2023-03-14. You can view files and clone it, but cannot push or open issues or pull requests.
personal-website-old/.eleventy.js
2020-11-19 16:24:32 +01:00

19 lines
431 B
JavaScript

module.exports = function(eleventyConfig) {
eleventyConfig.addPassthroughCopy('page/css')
eleventyConfig.addPassthroughCopy({
"node_modules/chaffle/docs/chaffle.min.js": "javascript/chaffle.min.js"
});
eleventyConfig.addShortcode("year", () => {
let year = new Date().getFullYear();
return year.toString();
});
return {
dir: {
input: "pages"
}
}
}