diff --git a/eleventy.config.js b/eleventy.config.js index 1f498f1..b16bb8e 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -1,3 +1,4 @@ +import { HtmlBasePlugin } from "@11ty/eleventy"; import { eleventyImageTransformPlugin } from "@11ty/eleventy-img"; import eleventyNavigationPlugin from "@11ty/eleventy-navigation"; @@ -46,6 +47,9 @@ export default async function (eleventyConfig) { /* Passthroughs */ eleventyConfig.addPassthroughCopy("./favicon.ico"); + /* HTML base */ + eleventyConfig.addPlugin(HtmlBasePlugin); + /* Images */ eleventyConfig.addPlugin(eleventyImageTransformPlugin, { // output image formats diff --git a/src/sitemap.xml.njk b/src/sitemap.xml.njk index 611f2d9..a066152 100644 --- a/src/sitemap.xml.njk +++ b/src/sitemap.xml.njk @@ -4,7 +4,6 @@ layout: false eleventyExcludeFromCollections: true --- - {% for page in collections.all %} {% if page.data.permalink != false %}