sitemap stuff
continuous-integration/drone/push Build is passing

This commit is contained in:
inherentlee committed 2026-09-23 14:52:49 -07:00
1 parent e91d19073b
commit a08262ea81
2 files changed
+4 -1

No files matched your search

+4
View File
@@ -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
-1
View File
@@ -4,7 +4,6 @@ layout: false
eleventyExcludeFromCollections: true
---
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="sitemap.xsl" ?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">
{% for page in collections.all %}
{% if page.data.permalink != false %}