Skip to content

Commit

Permalink
fix: sitemap xhtml schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
Fupete committed Jan 15, 2024
1 parent 5ea13d2 commit 690d6ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sitemap.xml.njk
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ permalink: /public/sitemap.xml
eleventyExcludeFromCollections: true
---
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="w3.org/TR/xhtml11/xhtml11_schema.html">
<urlset xmlns="sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">
{%- for item in
collections.all -%} {%- if not item.data.excludeFromSitemap and item.url -%} <url>
<loc>{{ item.url | url | absoluteUrl(meta.url) }}</loc>
Expand Down

0 comments on commit 690d6ec

Please sign in to comment.