14 Commits

Author SHA1 Message Date
Buğra Canata 24e091ae07 Simplify KeyStatic config - remove all extras
Remove descriptions, defaults, and extra options that might cause
compatibility issues with KeyStatic 5.x.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-17 23:38:52 +03:00
Buğra Canata fc13f44d7d Remove format config to fix item page error
The format configuration with contentField and frontmatter might be
causing compatibility issues with KeyStatic 5.x.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-17 23:31:45 +03:00
Buğra Canata 0773ac06ec Add back columns for better post list display
Shows title, date, and author columns in the post list view.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-17 23:27:25 +03:00
Buğra Canata 0fedaf6d04 Fix title field: use text instead of slug
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>
2026-01-17 23:25:43 +03:00
Buğra Canata 02ba91feb9 Remove columns field to fix KeyStatic error
The columns field might be causing compatibility issues with KeyStatic 5.x.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-17 23:24:16 +03:00
Buğra Canata f0648f7291 Revert KeyStatic to working state (Turkish UI only)
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>
2026-01-17 23:20:26 +03:00
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