19 lines
432 B
JavaScript
19 lines
432 B
JavaScript
module.exports = function(eleventyConfig) {
|
|
|
|
eleventyConfig.addPassthroughCopy('pages/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"
|
|
}
|
|
}
|
|
} |