42 lines
1.3 KiB
YAML
42 lines
1.3 KiB
YAML
backend:
|
|
name: gitea
|
|
repo: StartIT/web.start-it.nl # owner/repo exact zoals in Gitea
|
|
branch: main
|
|
app_id: YOUR_GITEA_CLIENT_ID # hier je echte Client ID invullen
|
|
api_root: https://git.start-it.nl/api/v1
|
|
base_url: https://git.start-it.nl
|
|
auth_endpoint: https://git.start-it.nl/login/oauth/authorize
|
|
|
|
media_folder: static/img # waar uploads in je repo terecht komen
|
|
public_folder: /img # hoe die paden op de site heten
|
|
|
|
# voorbeeld: een simpele 'pages' collectie
|
|
collections:
|
|
- name: "pages"
|
|
label: "Pagina's"
|
|
label_singular: "Pagina"
|
|
folder: "content" # of preciezer: bijv. "content/pages"
|
|
create: true
|
|
format: "frontmatter"
|
|
extension: "md"
|
|
slug: "{{slug}}"
|
|
fields:
|
|
- { label: "Titel", name: "title", widget: "string" }
|
|
- { label: "Datum", name: "date", widget: "datetime", required: false }
|
|
- { label: "Body", name: "body", widget: "markdown" }
|
|
|
|
backend:
|
|
name: gitea
|
|
repo: StartIT/web.start-it.nl
|
|
branch: main
|
|
|
|
# Belangrijk: hier komt jouw Client ID:
|
|
app_id: YOUR_CLIENT_ID_HERE
|
|
|
|
api_root: https://git.start-it.nl/api/v1
|
|
base_url: https://git.start-it.nl
|
|
auth_endpoint: https://git.start-it.nl/login/oauth/authorize
|
|
|
|
media_folder: static/img
|
|
public_folder: /img
|