Rename installed plugin variables

This commit is contained in:
Helen Chong 2024-07-28 19:07:50 +08:00
parent dc014a60fb
commit 6dc3afe000
1 changed files with 8 additions and 8 deletions

View File

@ -1,9 +1,9 @@
// Installed Plugins
import pluginRss from "@11ty/eleventy-plugin-rss";
import eleventyNavigationPlugin from "@11ty/eleventy-navigation";
import embedEverything from "eleventy-plugin-embed-everything";
import metagen from 'eleventy-plugin-metagen';
import emojiReadTime from "@11tyrocks/eleventy-plugin-emoji-readtime";
import pluginEleventyNavigation from "@11ty/eleventy-navigation";
import pluginEmbedEverything from "eleventy-plugin-embed-everything";
import pluginMetagen from 'eleventy-plugin-metagen';
import pluginEmojiReadTime from "@11tyrocks/eleventy-plugin-emoji-readtime";
import pluginTOC from '@uncenter/eleventy-plugin-toc';
// Custom Configurations
@ -16,10 +16,10 @@ import shortCodesConfig from "./src/_config/shortcodes.js";
export default function(eleventyConfig) {
// Installed Plugins
eleventyConfig.addPlugin(pluginRss);
eleventyConfig.addPlugin(eleventyNavigationPlugin);
eleventyConfig.addPlugin(embedEverything, { add: ['soundcloud'] });
eleventyConfig.addPlugin(metagen);
eleventyConfig.addPlugin(emojiReadTime);
eleventyConfig.addPlugin(pluginEleventyNavigation);
eleventyConfig.addPlugin(pluginEmbedEverything, { add: ['soundcloud'] });
eleventyConfig.addPlugin(pluginMetagen);
eleventyConfig.addPlugin(pluginEmojiReadTime);
eleventyConfig.addPlugin(pluginTOC, {
tags: ['h2', 'h3', 'h4', 'h5', 'h6'],
wrapper: function (toc) {