Rename installed plugin variables
This commit is contained in:
parent
dc014a60fb
commit
6dc3afe000
|
@ -1,9 +1,9 @@
|
||||||
// Installed Plugins
|
// Installed Plugins
|
||||||
import pluginRss from "@11ty/eleventy-plugin-rss";
|
import pluginRss from "@11ty/eleventy-plugin-rss";
|
||||||
import eleventyNavigationPlugin from "@11ty/eleventy-navigation";
|
import pluginEleventyNavigation from "@11ty/eleventy-navigation";
|
||||||
import embedEverything from "eleventy-plugin-embed-everything";
|
import pluginEmbedEverything from "eleventy-plugin-embed-everything";
|
||||||
import metagen from 'eleventy-plugin-metagen';
|
import pluginMetagen from 'eleventy-plugin-metagen';
|
||||||
import emojiReadTime from "@11tyrocks/eleventy-plugin-emoji-readtime";
|
import pluginEmojiReadTime from "@11tyrocks/eleventy-plugin-emoji-readtime";
|
||||||
import pluginTOC from '@uncenter/eleventy-plugin-toc';
|
import pluginTOC from '@uncenter/eleventy-plugin-toc';
|
||||||
|
|
||||||
// Custom Configurations
|
// Custom Configurations
|
||||||
|
@ -16,10 +16,10 @@ import shortCodesConfig from "./src/_config/shortcodes.js";
|
||||||
export default function(eleventyConfig) {
|
export default function(eleventyConfig) {
|
||||||
// Installed Plugins
|
// Installed Plugins
|
||||||
eleventyConfig.addPlugin(pluginRss);
|
eleventyConfig.addPlugin(pluginRss);
|
||||||
eleventyConfig.addPlugin(eleventyNavigationPlugin);
|
eleventyConfig.addPlugin(pluginEleventyNavigation);
|
||||||
eleventyConfig.addPlugin(embedEverything, { add: ['soundcloud'] });
|
eleventyConfig.addPlugin(pluginEmbedEverything, { add: ['soundcloud'] });
|
||||||
eleventyConfig.addPlugin(metagen);
|
eleventyConfig.addPlugin(pluginMetagen);
|
||||||
eleventyConfig.addPlugin(emojiReadTime);
|
eleventyConfig.addPlugin(pluginEmojiReadTime);
|
||||||
eleventyConfig.addPlugin(pluginTOC, {
|
eleventyConfig.addPlugin(pluginTOC, {
|
||||||
tags: ['h2', 'h3', 'h4', 'h5', 'h6'],
|
tags: ['h2', 'h3', 'h4', 'h5', 'h6'],
|
||||||
wrapper: function (toc) {
|
wrapper: function (toc) {
|
||||||
|
|
Loading…
Reference in New Issue