diff --git a/eleventy.config.js b/eleventy.config.js index 70118b9..1014cf6 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 { attrs } from "@mdit/plugin-attrs"; @@ -47,6 +48,9 @@ export default async function (eleventyConfig) { .addPassthroughCopy("favicon.ico") .addPassthroughCopy("robots.txt"); + /* 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 %}