Commit Graph

8 Commits

Author SHA1 Message Date
Buğra Canata a7b1090e0a 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>
2026-01-17 23:16:21 +03:00
Buğra Canata 50753b9cc7 Add KeyStatic CMS optimizations
- 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>
2026-01-17 23:14:12 +03:00
Buğra Canata 6e4dc7a33a Optimize KeyStatic config with Turkish UI and improved editor experience
- 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>
2026-01-17 22:49:00 +03:00
Buğra Canata 43bdb92d72 Fix KeyStatic collection path to end with /*
KeyStatic requires collection paths to end with /* pattern.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-17 22:30:29 +03:00
Buğra Canata 24736db514 Update KeyStatic to use .md files instead of .mdoc
Change path pattern to match existing markdown posts.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-17 22:18:05 +03:00
Buğra Canata 7dcaa2adcb Update KeyStatic config to match existing post format
- 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>
2026-01-17 22:11:55 +03:00
Buğra Canata e05f99a0d2 Enable KeyStatic CMS for production
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>
2026-01-17 20:05:42 +03:00
Buğra Canata 8f64fb1eea Add KeyStatic CMS integration
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>
2026-01-17 19:51:49 +03:00