lewisdale.dev/config/plugins/index.js

13 lines
524 B
JavaScript
Raw Normal View History

2023-02-13 13:35:44 +00:00
const { EleventyRenderPlugin } = require("@11ty/eleventy");
const markdownPlugin = require('./markdown');
const rss = require('@11ty/eleventy-plugin-rss');
const syntaxHighlight = require("@11ty/eleventy-plugin-syntaxhighlight");
const imagePlugin = require('./image');
module.exports = function(eleventyConfig) {
eleventyConfig.addPlugin(syntaxHighlight);
eleventyConfig.addPlugin(rss);
eleventyConfig.addPlugin(markdownPlugin);
eleventyConfig.addPlugin(imagePlugin);
2023-02-13 13:35:44 +00:00
eleventyConfig.addPlugin(EleventyRenderPlugin);
}