lewisdale.dev/.eleventy.js
Lewis Dale 481658aea0
All checks were successful
Build and copy to prod / build-and-copy (push) Successful in 1m26s
Remove the upgrade helper
2024-10-06 12:37:49 +01:00

25 lines
731 B
JavaScript

import files from './config/files/index.js';
import plugins from './config/plugins/index.js';
import filters from './config/filters/index.js';
import collections from './config/collections/index.js';
export default function(eleventyConfig) {
eleventyConfig.addPlugin(files);
eleventyConfig.addPlugin(plugins);
eleventyConfig.addPlugin(filters);
eleventyConfig.addPlugin(collections);
return {
passthroughFileCopy: true,
dataTemplateEngine: false,
markdownTemplateEngine: "njk",
htmlTemplateEngine: "njk",
dir: {
input: "src",
includes: "_includes",
data: "_data",
output: "_site"
}
};
};