Install RSS plug-in

This commit is contained in:
Helen Chong 2024-04-11 20:18:03 +08:00
parent 8096b87493
commit 81517bf7bf
3 changed files with 3 additions and 0 deletions

BIN
bun.lockb

Binary file not shown.

View File

@ -1,5 +1,6 @@
// Installed Plug-ins // Installed Plug-ins
const pluginWebc = require("@11ty/eleventy-plugin-webc"); const pluginWebc = require("@11ty/eleventy-plugin-webc");
const pluginRss = require("@11ty/eleventy-plugin-rss");
const metagen = require('eleventy-plugin-metagen'); const metagen = require('eleventy-plugin-metagen');
module.exports = function (eleventyConfig) { module.exports = function (eleventyConfig) {
@ -10,6 +11,7 @@ module.exports = function (eleventyConfig) {
// Installed Plug-ins // Installed Plug-ins
eleventyConfig.addPlugin(pluginWebc); eleventyConfig.addPlugin(pluginWebc);
eleventyConfig.addPlugin(pluginRss);
eleventyConfig.addPlugin(metagen); eleventyConfig.addPlugin(metagen);
return { return {

View File

@ -13,6 +13,7 @@
}, },
"dependencies": { "dependencies": {
"@11ty/eleventy": "^2.0.1", "@11ty/eleventy": "^2.0.1",
"@11ty/eleventy-plugin-rss": "^1.2.0",
"@11ty/eleventy-plugin-webc": "^0.11.2", "@11ty/eleventy-plugin-webc": "^0.11.2",
"eleventy-plugin-metagen": "^1.8.3", "eleventy-plugin-metagen": "^1.8.3",
"install": "^0.13.0" "install": "^0.13.0"