feat(05): i18n strategy prefix — /fr/blog and /en/blog explicit routes, update collection prefixes
This commit is contained in:
+1
-1
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user