From 8dda307f07d32287238f35d4fa32841e308220cb Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Thu, 11 Apr 2024 23:32:47 +0800 Subject: [PATCH] Add Eleventy Render plug-in --- eleventy.config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eleventy.config.js b/eleventy.config.js index 487589f2..501830d2 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -1,4 +1,5 @@ // Installed Plug-ins +const { EleventyRenderPlugin } = require("@11ty/eleventy"); const pluginWebc = require("@11ty/eleventy-plugin-webc"); const pluginRss = require("@11ty/eleventy-plugin-rss"); const metagen = require('eleventy-plugin-metagen'); @@ -10,6 +11,7 @@ module.exports = function (eleventyConfig) { eleventyConfig.addPassthroughCopy({ "./src/assets/feed/": "/" }); // Installed Plug-ins + eleventyConfig.addPlugin(EleventyRenderPlugin); eleventyConfig.addPlugin(pluginWebc); eleventyConfig.addPlugin(pluginRss); eleventyConfig.addPlugin(metagen);