generated from avior/template-web-astro
Update src/pages/sitemap.xml.ts
All checks were successful
Build, check & Test / run (pull_request) Successful in 2m16s
All checks were successful
Build, check & Test / run (pull_request) Successful in 2m16s
This commit is contained in:
parent
3f65b75343
commit
1e77fe6074
@ -13,11 +13,11 @@ export const ALL: APIRoute = async () => {
|
|||||||
sitemap.addEntry('/', {
|
sitemap.addEntry('/', {
|
||||||
priority: 1
|
priority: 1
|
||||||
})
|
})
|
||||||
sitemap.addEntry('/projets/', {
|
sitemap.addEntry('/projects/', {
|
||||||
priority: 0.5
|
priority: 0.5
|
||||||
})
|
})
|
||||||
for (const project of projects) {
|
for (const project of projects) {
|
||||||
sitemap.addEntry('/projets/' + project.slug, {
|
sitemap.addEntry('/projects/' + project.slug, {
|
||||||
priority: 0.7
|
priority: 0.7
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user