Sitemap.xml fixed
This commit is contained in:
+1
-3
@@ -1079,7 +1079,7 @@ export { sitemapRoute as GET } from '@/lib/content'
|
||||
export const dynamic = 'force-dynamic'
|
||||
```
|
||||
|
||||
- **Nagłówek** = `siteName` z Site Settings (język domyślny); brak → „XML Sitemap”.
|
||||
- **Nagłówek** = „XML Sitemap” (bez nazwy firmy/strony).
|
||||
- **Linia pod nagłówkiem** = dostawca technologii: „Technology by Intecion.com”.
|
||||
- To CSS na XML (`<?xml-stylesheet type="text/css"?>`, standard W3C) — **nie XSLT**,
|
||||
które przeglądarki wycofują. Google ignoruje dyrektywę; zero wpływu na SEO.
|
||||
@@ -1090,9 +1090,7 @@ createContentHelpers({
|
||||
config, content, i18n: i18nConfig,
|
||||
sitemapStyle: { accent: '#0f766e' }, // kolor akcentu
|
||||
// sitemapStyle: { credit: false }, // bez linii dostawcy
|
||||
// sitemapStyle: { title: 'Sitemap' }, // stały nagłówek zamiast siteName
|
||||
// sitemapStyle: false, // surowy XML (natywny widok przeglądarki)
|
||||
// siteNameField: 'name', // gdy pole nazwy w Site Settings ma inną nazwę
|
||||
})
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user