Skip to content

Commit 3963181

Browse files
committed
2026-03-05 Fix sitemap — static XML replaces dynamic route for reliable prerender
1 parent 43bc3d8 commit 3963181

3 files changed

Lines changed: 16 additions & 2 deletions

File tree

File renamed without changes.

landing/static/sitemap.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,20 @@
4545
<changefreq>monthly</changefreq>
4646
<priority>0.8</priority>
4747
</url>
48+
<url>
49+
<loc>https://eddmpython.github.io/vectrix/blog/statistical-vs-foundation</loc>
50+
<lastmod>2026-03-05</lastmod>
51+
<changefreq>monthly</changefreq>
52+
<priority>0.8</priority>
53+
</url>
54+
55+
<!-- Playground -->
56+
<url>
57+
<loc>https://eddmpython.github.io/vectrix/playground</loc>
58+
<lastmod>2026-03-06</lastmod>
59+
<changefreq>weekly</changefreq>
60+
<priority>0.9</priority>
61+
</url>
4862

4963
<!-- Docs main -->
5064
<url>

landing/svelte.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ const config = {
3333
strict: false
3434
}),
3535
prerender: {
36-
entries: ['*', '/sitemap.xml', '/playground'],
37-
handleUnseenRoutes: 'warn',
36+
entries: ['*', '/playground'],
37+
handleUnseenRoutes: 'ignore',
3838
handleHttpError: ({ path, message }) => {
3939
if (path.startsWith('/vectrix/blog/') && !path.endsWith('.html')) return;
4040
console.warn(message);

0 commit comments

Comments
 (0)