From a08262ea81fdacf3a116cf8c0dae810040e28dd7 Mon Sep 17 00:00:00 2001 From: Lee Cattarin Date: Wed, 23 Sep 2026 14:52:49 -0700 Subject: [PATCH] sitemap stuff --- 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 d88b612..f0ae0ca 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"; @@ -41,6 +42,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 %}