Install Eleventy Navigation plugin
This commit is contained in:
parent
cec76fa45c
commit
dd38217deb
|
@ -1,6 +1,7 @@
|
||||||
// Installed Plug-ins
|
// Installed Plug-ins
|
||||||
const { EleventyRenderPlugin } = require("@11ty/eleventy");
|
const { EleventyRenderPlugin } = require("@11ty/eleventy");
|
||||||
const pluginRss = require("@11ty/eleventy-plugin-rss");
|
const pluginRss = require("@11ty/eleventy-plugin-rss");
|
||||||
|
const eleventyNavigationPlugin = require("@11ty/eleventy-navigation");
|
||||||
const metagen = require('eleventy-plugin-metagen');
|
const metagen = require('eleventy-plugin-metagen');
|
||||||
const pluginTOC = require('eleventy-plugin-nesting-toc');
|
const pluginTOC = require('eleventy-plugin-nesting-toc');
|
||||||
const emojiReadTime = require("@11tyrocks/eleventy-plugin-emoji-readtime");
|
const emojiReadTime = require("@11tyrocks/eleventy-plugin-emoji-readtime");
|
||||||
|
@ -22,6 +23,7 @@ module.exports = function (eleventyConfig) {
|
||||||
// Installed Plug-ins
|
// Installed Plug-ins
|
||||||
eleventyConfig.addPlugin(EleventyRenderPlugin);
|
eleventyConfig.addPlugin(EleventyRenderPlugin);
|
||||||
eleventyConfig.addPlugin(pluginRss);
|
eleventyConfig.addPlugin(pluginRss);
|
||||||
|
eleventyConfig.addPlugin(eleventyNavigationPlugin);
|
||||||
eleventyConfig.addPlugin(metagen);
|
eleventyConfig.addPlugin(metagen);
|
||||||
eleventyConfig.addPlugin(pluginTOC, { tags: ['h2', 'h3', 'h4', 'h5'] });
|
eleventyConfig.addPlugin(pluginTOC, { tags: ['h2', 'h3', 'h4', 'h5'] });
|
||||||
eleventyConfig.addPlugin(emojiReadTime);
|
eleventyConfig.addPlugin(emojiReadTime);
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@11ty/eleventy": "^2.0.1",
|
"@11ty/eleventy": "^2.0.1",
|
||||||
|
"@11ty/eleventy-navigation": "^0.3.5",
|
||||||
"@11ty/eleventy-plugin-rss": "^1.2.0",
|
"@11ty/eleventy-plugin-rss": "^1.2.0",
|
||||||
"@11tyrocks/eleventy-plugin-emoji-readtime": "^1.0.1",
|
"@11tyrocks/eleventy-plugin-emoji-readtime": "^1.0.1",
|
||||||
"eleventy-plugin-embed-everything": "^1.18.2",
|
"eleventy-plugin-embed-everything": "^1.18.2",
|
||||||
|
|
Loading…
Reference in New Issue