Install Eleventy metagen plug-in

This commit is contained in:
Helen Chong 2024-04-11 20:17:11 +08:00
parent 00f453a00f
commit 8096b87493
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 metagen = require('eleventy-plugin-metagen');
module.exports = function (eleventyConfig) { module.exports = function (eleventyConfig) {
// Copy files // Copy files
@ -9,6 +10,7 @@ module.exports = function (eleventyConfig) {
// Installed Plug-ins // Installed Plug-ins
eleventyConfig.addPlugin(pluginWebc); eleventyConfig.addPlugin(pluginWebc);
eleventyConfig.addPlugin(metagen);
return { return {
dir: { dir: {

View File

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