feat: upgrade to v3; install eleventy-upgrade-help

This commit is contained in:
Devin Haska 2024-10-03 21:32:47 -07:00
parent e28e804e12
commit ef6923ece6
3 changed files with 1677 additions and 1563 deletions

View file

@ -1,3 +1,4 @@
const UpgradeHelper = require("@11ty/eleventy-upgrade-help");
const pluginRss = require("@11ty/eleventy-plugin-rss");
const pluginNoRobots = require("eleventy-plugin-no-robots");
@ -65,6 +66,8 @@ module.exports = (eleventyConfig) => {
eleventyConfig.addShortcode("image", imageShortcode);
eleventyConfig.addShortcode("youtube", liteYoutube);
eleventyConfig.addPlugin(UpgradeHelper);
return {
// Optional (default is set): If your site deploys to a subdirectory, change `pathPrefix`, for example with with GitHub pages
pathPrefix: "/",