diff --git a/astro.config.mjs b/astro.config.mjs index 638ad23..3077523 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -10,7 +10,38 @@ export default defineConfig({ site: "https://jleibl.net", integrations: [ react(), - sitemap(), + sitemap({ + changefreq: "weekly", + priority: 1.0, + lastmod: new Date("2025-05-16"), + customPages: [ + "https://jleibl.net/#about", + "https://jleibl.net/#work", + "https://jleibl.net/#hobby", + "https://jleibl.net/#contact", + ], + i18n: { + defaultLocale: "en", + locales: { + en: "en-US", + }, + }, + serialize: (item) => { + if (item.url === "https://jleibl.net/") { + return { + ...item, + img: [ + { + url: "https://jleibl.net/profile-image-futu-style.jpg", + caption: "Jan-Marlon Leibl - Fullstack Developer", + }, + ], + }; + } + return item; + }, + xslURL: "/sitemap.xsl", + }), icon({ include: { ph: ["*"], diff --git a/public/sitemap.xsl b/public/sitemap.xsl new file mode 100644 index 0000000..0da1842 --- /dev/null +++ b/public/sitemap.xsl @@ -0,0 +1,77 @@ + + + + + + + XML Sitemap - Jan-Marlon Leibl + + + + +
+

XML Sitemap

+

This is the sitemap for jleibl.net

+
+ + + + + + + + + + + + + + + +
URLPriorityChange FrequencyLast Modified
+ +
+ + +
+
\ No newline at end of file