-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eleventy.js
29 lines (27 loc) · 875 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
29
const addShortCodes = require("./config/shortcodes");
const addPassThroughCopies = require("./config/passthroughs");
const addTransforms = require("./config/transforms");
const addFilters = require("./config/filters");
const svgContents = require("eleventy-plugin-svg-contents");
module.exports = function (eleventyConfig) {
addPassThroughCopies(eleventyConfig);
addShortCodes(eleventyConfig);
addTransforms(eleventyConfig);
addFilters(eleventyConfig);
eleventyConfig.addPlugin(svgContents);
eleventyConfig.addWatchTarget("./_temp/");
eleventyConfig.setDataDeepMerge(true);
eleventyConfig.setLiquidOptions({
dynamicPartials: true,
strict_filters: true,
});
eleventyConfig.setUseGitIgnore(false);
return {
dir: {
data: "../_data",
includes: "../_includes",
layouts: "../_layouts",
input: "./pages",
},
};
};;;