From 1566f5c30be1bb5a9d257b97c985efccb69e2eda Mon Sep 17 00:00:00 2001 From: Lee Cattarin Date: Wed, 23 Sep 2026 14:51:36 -0700 Subject: [PATCH] sitemap --- eleventy.config.js | 4 ++++ src/sitemap.xml.njk | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) 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 %}