Revert "Install Eleventy IDs plug-in"

This reverts commit f66945a85a.
This commit is contained in:
Helen Chong 2024-04-12 01:22:24 +08:00
parent 3aeb79dc1e
commit e69d42bbdc
3 changed files with 0 additions and 5 deletions

BIN
bun.lockb

Binary file not shown.

View File

@ -3,7 +3,6 @@ const { EleventyRenderPlugin } = require("@11ty/eleventy");
const pluginWebc = require("@11ty/eleventy-plugin-webc"); const pluginWebc = require("@11ty/eleventy-plugin-webc");
const pluginRss = require("@11ty/eleventy-plugin-rss"); const pluginRss = require("@11ty/eleventy-plugin-rss");
const metagen = require('eleventy-plugin-metagen'); const metagen = require('eleventy-plugin-metagen');
const anchors_plugin = require('@orchidjs/eleventy-plugin-ids');
module.exports = function (eleventyConfig) { module.exports = function (eleventyConfig) {
// Copy files // Copy files
@ -18,9 +17,6 @@ module.exports = function (eleventyConfig) {
}); });
eleventyConfig.addPlugin(pluginRss); eleventyConfig.addPlugin(pluginRss);
eleventyConfig.addPlugin(metagen); eleventyConfig.addPlugin(metagen);
eleventyConfig.addPlugin(anchors_plugin, {
selectors: ['h2','h3','h4','h5','h6'],
});
return { return {
dir: { dir: {

View File

@ -15,7 +15,6 @@
"@11ty/eleventy": "^2.0.1", "@11ty/eleventy": "^2.0.1",
"@11ty/eleventy-plugin-rss": "^1.2.0", "@11ty/eleventy-plugin-rss": "^1.2.0",
"@11ty/eleventy-plugin-webc": "^0.11.2", "@11ty/eleventy-plugin-webc": "^0.11.2",
"@orchidjs/eleventy-plugin-ids": "^0.1.1",
"eleventy-plugin-metagen": "^1.8.3", "eleventy-plugin-metagen": "^1.8.3",
"install": "^0.13.0" "install": "^0.13.0"
} }