Files
Buğra Canata 2467d5555f Implement Astro features: React Islands, Server Endpoints, i18n, Partytown
Features added:
- React integration with @astrojs/react
- React components: DMRDashboard, MemberSearch
- API endpoints: /api/repeaters.json, /api/dmr-contacts.json, /api/feed/[category].xml
- i18n support for TR/EN locales with LanguageSwitcher component
- Partytown enabled for third-party script optimization
- Admin panel logo fixed (moved to public/images/)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-17 17:30:58 +03:00

75 lines
1.7 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
backend:
name: git-gateway
branch: main
accept_roles:
- admin
- editor
squash_merges: true
local_backend: true
# Identity widget for external OAuth providers (Google, GitHub, etc.)
identity_widget:
enable: true
media_folder: 'src/assets/images'
public_folder: '/images'
locale: 'tr'
site_url: https://radio.org.tr
display_url: https://radio.org.tr
# Logo for admin login page
logo_url: https://radio.org.tr/images/ARC_2024_bayrak_logo-Large-1-1024x1024.png
collections:
- name: 'post'
label: 'Blog Yazıları'
folder: 'src/data/post'
create: true
slug: '{{year}}-{{month}}-{{day}}-{{slug}}'
fields:
- label: 'Başlık'
name: 'title'
widget: 'string'
- label: 'Yayın Tarihi'
name: 'date'
widget: 'datetime'
format: 'YYYY-MM-DD HH:mm:ss'
- label: 'Yazar'
name: 'author'
widget: 'string'
default: 'TA1SPH'
- label: 'Kategoriler'
name: 'categories'
widget: 'list'
allow_add: true
allow_delete: true
collapsed: false
field:
label: 'Kategori'
name: 'category'
widget: 'string'
- label: 'Etiketler'
name: 'tags'
widget: 'list'
allow_add: true
allow_delete: true
collapsed: false
field:
label: 'Etiket'
name: 'tag'
widget: 'string'
- label: 'Düzen'
name: 'layout'
widget: 'string'
default: 'post'
- label: 'Öne Çıkan Görsel'
name: 'image'
widget: 'image'
required: false
- label: 'İçerik'
name: 'body'
widget: 'markdown'