lightning-talk-css/.eleventy.js

25 lines
707 B
JavaScript
Raw Normal View History

2023-09-29 19:33:03 +01:00
const PostCSSPlugin = require("eleventy-plugin-postcss");
const markdown = require("./config/plugins/markdown");
const syntaxHighlight = require("@11ty/eleventy-plugin-syntaxhighlight");
module.exports = function (config) {
config.addPlugin(PostCSSPlugin);
config.addPlugin(syntaxHighlight);
config.addPlugin(markdown);
2023-10-02 09:14:19 +01:00
config.addPassthroughCopy("src/assets");
2023-09-29 19:33:03 +01:00
return {
passthroughFileCopy: true,
dataTemplateEngine: false,
markdownTemplateEngine: "njk",
htmlTemplateEngine: "njk",
dir: {
input: "src",
includes: "_includes",
data: "_data",
output: "_site"
}
};
}