24 lines
604 B
JavaScript
24 lines
604 B
JavaScript
module.exports = function(eleventyConfig) {
|
|
|
|
eleventyConfig.addPassthroughCopy('pages/css')
|
|
eleventyConfig.addPassthroughCopy('pages/content')
|
|
|
|
eleventyConfig.addPassthroughCopy({
|
|
"node_modules/chaffle/docs/chaffle.min.js": "javascript/chaffle.min.js",
|
|
"pages/cv.pdf": "cv.pdf",
|
|
"pages/favicon.ico": "favicon.ico"
|
|
});
|
|
|
|
eleventyConfig.addShortcode("year", () => {
|
|
let year = new Date().getFullYear();
|
|
return year.toString();
|
|
});
|
|
|
|
return {
|
|
dir: {
|
|
input: "pages"
|
|
},
|
|
pathPrefix: '/~fainsil/'
|
|
}
|
|
|
|
} |