-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eleventy.js
32 lines (29 loc) · 1007 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
30
31
32
const minifier = require("./config/minifier")
const markdown = require("./config/markdown")
const syntaxHighlight = require("@11ty/eleventy-plugin-syntaxhighlight")
const postCSS = require("./config/postcss")
const postTags = require("./config/post-tags")
const rss = require("./config/rss")
const image = require("./config/image")
const callout = require("./config/callout")
const dates = require("./config/dates")
const resources = require("./config/resources")
module.exports = function (eleventyConfig) {
eleventyConfig.setDataDeepMerge(true)
eleventyConfig.addPlugin(minifier)
eleventyConfig.addPlugin(markdown)
eleventyConfig.addPlugin(syntaxHighlight)
eleventyConfig.addPlugin(postCSS)
eleventyConfig.addPlugin(postTags)
eleventyConfig.addPlugin(rss)
eleventyConfig.addPlugin(image)
eleventyConfig.addPlugin(callout)
eleventyConfig.addPlugin(dates)
eleventyConfig.addPlugin(resources)
return {
markdownTemplateEngine: "njk",
dir: {
input: "site"
}
};
}