fix: use canonical url in sitemap
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
5f2ea33e8e
commit
54ba152790
@ -10,7 +10,19 @@ import sitemap from '@astrojs/sitemap'
|
||||
export default defineConfig({
|
||||
site: 'https://vikunja.io',
|
||||
output: 'hybrid',
|
||||
integrations: [tailwind(), markdoc(), sitemap()],
|
||||
integrations: [
|
||||
tailwind(),
|
||||
markdoc(),
|
||||
sitemap({
|
||||
serialize(item) {
|
||||
if (item.url.endsWith('/')) {
|
||||
item.url = item.url.slice(0, -1)
|
||||
}
|
||||
|
||||
return item
|
||||
},
|
||||
}),
|
||||
],
|
||||
adapter: node({
|
||||
mode: 'standalone',
|
||||
}),
|
||||
|
Loading…
x
Reference in New Issue
Block a user