24 lines
1.3 KiB
YAML
24 lines
1.3 KiB
YAML
backend:
|
||
name: gitea
|
||
repo: log101/log101-dot-dev # Path to your Gitea repository
|
||
app_id: c7f89c71-293e-4ea1-8566-109d508d8116 # The Client ID provided by Gitea
|
||
api_root: https://git.acayip.dev/api/v1 # API URL of your Gitea instance
|
||
base_url: https://git.acayip.dev # Root URL of your Gitea instance
|
||
auth_endpoint: https://git.acayip.dev/login/oauth/authorize
|
||
branch: main
|
||
collections:
|
||
- name: "blog" # Used in routes, e.g., /admin/collections/blog
|
||
label: "Blog" # Used in the UI
|
||
folder: "src/content/blog" # The path to the folder where the documents are stored
|
||
create: true # Allow users to create new documents in this collection
|
||
slug: "{{year}}-{{month}}-{{day}}-{{slug}}" # Filename template, e.g., YYYY-MM-DD-title.md
|
||
fields: # The fields for each document, usually in front matter
|
||
- { label: "Yayına hazır mı?", name: "draft", widget: "boolean" }
|
||
- { label: "Başlık", name: "title", widget: "string" }
|
||
- { label: "Tarih", name: "date", widget: "datetime" }
|
||
- { label: "Özet", name: "summary", widget: "string" }
|
||
- { label: "Kategori", name: "category", widget: "string" }
|
||
- { label: "Alt Kategori", name: "subcategory", widget: "string" }
|
||
media_folder: "src/assets/images"
|
||
public_folder: "src/assets/images"
|