2024-04-11 12:16:05 +00:00
|
|
|
// Installed Plug-ins
|
|
|
|
const pluginWebc = require("@11ty/eleventy-plugin-webc");
|
2024-04-11 12:18:03 +00:00
|
|
|
const pluginRss = require("@11ty/eleventy-plugin-rss");
|
2024-04-11 12:17:11 +00:00
|
|
|
const metagen = require('eleventy-plugin-metagen');
|
2024-04-11 12:16:05 +00:00
|
|
|
|
2024-04-06 04:15:14 +00:00
|
|
|
module.exports = function (eleventyConfig) {
|
2024-04-11 12:16:05 +00:00
|
|
|
// Copy files
|
2024-04-06 04:15:14 +00:00
|
|
|
eleventyConfig.addPassthroughCopy("./src/assets/");
|
|
|
|
eleventyConfig.addWatchTarget("./src/assets/");
|
2024-04-06 17:15:00 +00:00
|
|
|
eleventyConfig.addPassthroughCopy({ "./src/assets/feed/": "/" });
|
2024-04-06 04:15:14 +00:00
|
|
|
|
2024-04-11 12:16:05 +00:00
|
|
|
// Installed Plug-ins
|
|
|
|
eleventyConfig.addPlugin(pluginWebc);
|
2024-04-11 12:18:03 +00:00
|
|
|
eleventyConfig.addPlugin(pluginRss);
|
2024-04-11 12:17:11 +00:00
|
|
|
eleventyConfig.addPlugin(metagen);
|
2024-04-11 12:16:05 +00:00
|
|
|
|
2024-04-06 04:15:14 +00:00
|
|
|
return {
|
|
|
|
dir: {
|
|
|
|
input: "src"
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|