The title field was incorrectly using fields.slug() when it should be
fields.text(). KeyStatic automatically slugifies the title for URLs
when slugField is set.
This fixes the "n.call is not a function" error when opening a post.
Co-Authored-By: Claude <noreply@anthropic.com>
Removed all experimental features that were causing errors:
- Site singleton
- Brand mark (logo)
- Entry layout grouping
- Preview URL
- Published/featured checkbox fields
- Related posts field
Kept only the working Turkish UI customization:
- Brand name: "ARC CMS"
- Navigation: "İçerik" for posts
Co-Authored-By: Claude <noreply@anthropic.com>
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>
- Add site singleton for global settings (name, description, URL, contact, social media)
- Add brand mark (globe icon) to KeyStatic header
- Add entry layout grouping (Ana Bilgiler, Medya, Sınıflandırma, Özet, İçerik)
- Add preview URL configuration for local development
- Add published, featured, and relatedPosts fields
- Use local storage for development, GitHub storage for production
- Update Astro content schema with new fields
Co-Authored-By: Claude <noreply@anthropic.com>
- Add Turkish brand name "ARC CMS"
- Add Turkish navigation "İçerik"
- Add columns to show title, date, and author in list view
- Improve all field descriptions with Turkish examples and better help text
- Add itemLabel for better UX in array fields
Note: KeyStatic doesn't have built-in i18n/locale support yet.
This is tracked in: https://github.com/Thinkmill/keystatic/discussions/1423
Co-Authored-By: Claude <noreply@anthropic.com>
- Add explicit frontmatter: 'yaml' to match existing posts
- Remove publishDate field that doesn't exist in current posts
- Keep body as markdoc (supports markdown content)
Co-Authored-By: Claude <noreply@anthropic.com>
Changes:
- Added Netlify adapter for server-side rendering
- Changed output mode from static to server
- Updated KeyStatic storage from local to GitHub
- Removed SKIP_KEYSTATIC from Netlify build
- KeyStatic Admin UI will be available at /keystatic
Features:
- Server-side rendering with Netlify Functions
- GitHub integration for content management
- Production-ready KeyStatic Admin UI
Co-Authored-By: Claude <noreply@anthropic.com>
Features added:
- KeyStatic Core and Astro integration installed
- Markdoc integration for content rendering
- keystatic.config.ts with blog post schema
- Local storage mode for content management
- Conditional loading via SKIP_KEYSTATIC env var
- Netlify build command updated to skip KeyStatic in production
KeyStatic Admin UI available at:
- Local: http://localhost:4321/keystatic
- Production: Disabled for security
Co-Authored-By: Claude <noreply@anthropic.com>