diff --git a/eleventy.config.js b/eleventy.config.js index 98004b2..45326ee 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -32,6 +32,14 @@ export default async function(eleventyConfig) { // eleventyConfig.addBundle("js"); // Official plugins + eleventyConfig.addPlugin(pluginSyntaxHighlight, { + preAttributes: { tabindex: 0 } + }); + eleventyConfig.addPlugin(pluginNavigation); + eleventyConfig.addPlugin(HtmlBasePlugin); + eleventyConfig.addPlugin(InputPathToUrlTransformPlugin); + + // Atom Feed eleventyConfig.addPlugin(feedPlugin, { outputPath: "/feed/feed.xml", stylesheet: "pretty-atom-feed.xsl", @@ -51,19 +59,11 @@ export default async function(eleventyConfig) { subtitle: "This is a longer description about your blog.", base: "https://example.com/", author: { - name: "Your Name", - email: "me@example.com" + name: "Your Name" } } }); - eleventyConfig.addPlugin(pluginSyntaxHighlight, { - preAttributes: { tabindex: 0 } - }); - eleventyConfig.addPlugin(pluginNavigation); - eleventyConfig.addPlugin(HtmlBasePlugin); - eleventyConfig.addPlugin(InputPathToUrlTransformPlugin); - // Image optimization: https://www.11ty.dev/docs/plugins/image/#eleventy-transform eleventyConfig.addPlugin(eleventyImageTransformPlugin, { // File extensions to process in _site folder diff --git a/package.json b/package.json index f93a19d..fe020e3 100644 --- a/package.json +++ b/package.json @@ -34,10 +34,10 @@ }, "homepage": "https://github.com/11ty/eleventy-base-blog#readme", "devDependencies": { - "@11ty/eleventy": "3.0.0-alpha.11", + "@11ty/eleventy": "3.0.0-alpha.13", "@11ty/eleventy-img": "5.0.0-beta.4", "@11ty/eleventy-navigation": "^0.3.5", - "@11ty/eleventy-plugin-rss": "^2.0.0-beta.7", + "@11ty/eleventy-plugin-rss": "2.0.0-beta.8", "@11ty/eleventy-plugin-syntaxhighlight": "^5.0.0", "luxon": "^3.4.4", "markdown-it-anchor": "^8.6.7",