feat(seo): centralize route metadata and expand sitemap coverage

Remove static fallback tags from Nuxt config to prevent duplication.
Auto-apply noindex to authenticated and permissioned routes.
Add home, project updates, and legal pages to sitemap.
Properly escape JSON-LD structured data.
This commit is contained in:
2026-05-06 11:01:19 +08:00
parent 425f2f4d5f
commit f7986ca520
5 changed files with 23 additions and 30 deletions

View File

@@ -1,6 +1,7 @@
const fallbackSiteUrl = 'https://pokopiawiki.tootaio.com';
const sitemapPaths = [
'/',
'/pokemon',
'/event-pokemon',
'/habitats',
@@ -11,7 +12,11 @@ const sitemapPaths = [
'/recipes',
'/dish',
'/checklist',
'/life'
'/life',
'/project-updates',
'/privacy-policy',
'/terms-of-service',
'/disclaimers'
];
const robotsDisallowPaths = [