feat(05): i18n strategy prefix — /fr/blog and /en/blog explicit routes, update collection prefixes

This commit is contained in:
2026-04-21 16:49:32 +02:00
parent 06f47cbe11
commit 277b407361
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ export default defineContentConfig({
collections: {
blog_fr: defineCollection({
type: 'page',
source: { include: 'fr/blog/**/*.md', prefix: '/blog' },
source: { include: 'fr/blog/**/*.md', prefix: '/fr/blog' },
schema: blogSchema,
}),
blog_en: defineCollection({