generated from 5t3ph/11ty-netlify-jumpstart
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eleventy.js
22 lines (19 loc) · 876 Bytes
/
.eleventy.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
module.exports = function(eleventyConfig) {
eleventyConfig.addPassthroughCopy("./src/fonts/Poppins/Poppins-LightItalic.ttf");
eleventyConfig.addPassthroughCopy("./src/fonts/Poppins/Poppins-Regular.ttf");
eleventyConfig.addPassthroughCopy("./src/fonts/Poppins/Poppins-Italic.ttf");
eleventyConfig.addPassthroughCopy("./src/fonts/Poppins/Poppins-Bold.ttf");
eleventyConfig.addPassthroughCopy("./src/fonts/Montserrat/static/Montserrat-SemiBold.ttf");
eleventyConfig.addPassthroughCopy("./src/img");
eleventyConfig.addPassthroughCopy("./src/favicon.svg");
eleventyConfig.addPassthroughCopy("./src/favicon-dark.svg");
eleventyConfig.addPassthroughCopy("./src/css/output.css")
eleventyConfig.addShortcode("year", () => `${new Date().getFullYear()}`);
return {
dir: {
input: "src",
output: "public",
layouts: "_layouts",
},
};
};