kayjaydee
17420afefe
chore(07-01): install nuxt-schema-org + add updated field to blog schema
...
- pnpm add -D nuxt-schema-org@^6.0.4 (D-01, D-04)
- content.config.ts blogSchema: updated: z.string().optional() (D-13, D-14)
- Caches content/.nuxt vidés (Pitfall 8)
2026-04-22 11:10:39 +02:00
kayjaydee
6b4935ebba
feat(06-01): extend blogSchema with draft/wordCount/minutes fields
...
- Add draft: z.boolean().optional().default(false) to allow .where('draft','=',false)
- Add wordCount + minutes as optional (injected by Nitro hook at parse time)
- Collections blog_fr/blog_en unchanged (schema is referenced by variable)
2026-04-22 08:56:46 +02:00
kayjaydee
277b407361
feat(05): i18n strategy prefix — /fr/blog and /en/blog explicit routes, update collection prefixes
2026-04-21 16:49:32 +02:00
kayjaydee
83197899c8
feat(05-01): create content.config.ts with bilingual blog collections
...
- Define blog_fr collection: fr/blog/**/*.md → prefix /blog (FR default locale)
- Define blog_en collection: en/blog/**/*.md → prefix /en/blog (EN prefixed)
- Add Zod schema: title, description, date (required) + tags, image (optional)
2026-04-21 14:34:42 +02:00