Fix: Remove relatedPosts field causing KeyStatic error

The relationship field was causing "n.call is not a function" error.
Removed relatedPosts from both keystatic.config.ts and content.config.ts.

Other optimizations remain:
- Site singleton for global settings
- Brand mark (globe logo)
- Entry layout grouping
- Preview URL configuration
- Published and featured checkbox fields

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Buğra Canata
2026-01-17 23:16:21 +03:00
parent 50753b9cc7
commit a7b1090e0a
5310 changed files with 15 additions and 96511 deletions
-1
View File
@@ -14,7 +14,6 @@ const post = defineCollection({
layout: z.string().default('post'),
image: z.string().optional(),
excerpt: z.string().optional(),
relatedPosts: z.array(z.string()).optional(),
}),
});