feat(07-01): wire global schema.org Person + WebSite and sitemap sources
- nuxt.config.ts: register 'nuxt-schema-org' module + sitemap.sources=['/api/__sitemap__/urls']
- app/utils/seo-person.ts: KILLIAN_PERSON_ID + killianPerson (derived from siteConfig, email excluded)
- app/app.vue: useSchemaOrg([definePerson(killianPerson), defineWebSite({name, inLanguage})]) appended (D-12)
- Verified SSR: /fr emits JSON-LD Person @id=#killian + WebSite (curl, pas d'hydratation)
This commit is contained in:
@@ -9,6 +9,7 @@ export default defineNuxtConfig({
|
||||
'@nuxt/eslint',
|
||||
'@nuxtjs/i18n',
|
||||
'@nuxtjs/sitemap',
|
||||
'nuxt-schema-org',
|
||||
'nuxt-gtag',
|
||||
],
|
||||
components: [
|
||||
@@ -31,6 +32,9 @@ export default defineNuxtConfig({
|
||||
url: 'https://killiandalcin.fr',
|
||||
name: "Killian' DAL-CIN - Developpeur Full Stack",
|
||||
},
|
||||
sitemap: {
|
||||
sources: ['/api/__sitemap__/urls'],
|
||||
},
|
||||
i18n: {
|
||||
strategy: 'prefix',
|
||||
defaultLocale: 'fr',
|
||||
|
||||
Reference in New Issue
Block a user