-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eleventy.js
26 lines (22 loc) · 913 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
const pluginRss = require("@11ty/eleventy-plugin-rss");
module.exports = function (eleventyConfig) {
eleventyConfig.setLiquidOptions({
strictFilters: false, // renamed from `strict_filters` in Eleventy 1.0
});
// Set directories to pass through to the dist folder
eleventyConfig.addPassthroughCopy('./src/images/');
eleventyConfig.addPassthroughCopy('./src/css/');
eleventyConfig.addPassthroughCopy('./.htaccess');
eleventyConfig.addPassthroughCopy('./_redirects');
eleventyConfig.addPassthroughCopy({"./src/favicons/" : "./"});
eleventyConfig.addPassthroughCopy('./src/robots.txt');
eleventyConfig.addPassthroughCopy('./src/subscriptions.xml');
eleventyConfig.addPassthroughCopy('./src/.well-known/atproto-did');
eleventyConfig.addPlugin(pluginRss);
return {
dir: {
input: 'src',
output: 'dist'
}
};
};