-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eleventy.js
28 lines (24 loc) · 727 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
23
24
25
26
27
28
const eleventyNavigationPlugin = require('@11ty/eleventy-navigation');
module.exports = function (eleventyConfig) {
eleventyConfig.addPassthroughCopy({
'src/main.css' : 'assets/main.css',
'src/scripts/animations.js' : 'assets/animations.js',
'src/images' : 'assets/img',
'src/js' : 'assets/js'
});
eleventyConfig.addPlugin(eleventyNavigationPlugin);
return {
dir:{
input: 'views',
output: 'docs',
includes: "_includes",
data: "_data",
},
pathPrefix: "/selection-tool",
templateFormats: ["html", "liquid", "md", "njk"],
markdownTemplateEngine: "liquid",
htmlTemplateEngine: "njk",
dataTemplateEngine: "njk",
passthroughFileCopy: true,
}
}