work.suroh.tk/office/config.yml

52 lines
1.9 KiB
YAML
Raw Normal View History

2023-11-16 15:01:33 +00:00
backend:
name: gitea
repo: suroh/work.suroh.tk
app_id: a4548791-8ff4-4ab1-bdfb-54798262ed2f
api_root: https://git.suroh.tk/api/v1
base_url: https://git.suroh.tk
site_domain: work.suroh.tk
2023-11-16 15:01:33 +00:00
branch: main
site_url: https://work.suroh.tk
2023-11-16 15:01:33 +00:00
media_folder: "assets/media/uploads"
public_folder: "/media/uploads"
collections:
- label: "Audio"
name: "audio"
folder: "_content/audio"
create: true
fields:
- {label: "Title", name: "title", widget: "string"}
- {label: "Publish Date", name: "date", widget: "datetime"}
- {label: "Published", name: "published", widget: "boolean"}
- {label: "Featured Image", name: "imgFeat", widget: "image"}
- {label: "Gallery", name: "gallery", widget: "image", media_library: { config: { multiple: true } } }
- {label: "Body", name: "body", widget: "markdown"}
- {label: "Order", name: "sort", widget: "number"}
- label: "Dev"
name: "dev"
folder: "_content/dev"
create: true
fields:
- {label: "Title", name: "title", widget: "string"}
- {label: "Publish Date", name: "date", widget: "datetime"}
- {label: "Published", name: "published", widget: "boolean"}
- {label: "Featured Image", name: "imgFeat", widget: "image"}
- {label: "Gallery", name: "gallery", widget: "image", media_library: { config: { multiple: true } } }
- {label: "Body", name: "body", widget: "markdown"}
- {label: "Order", name: "sort", widget: "number"}
- label: "Work"
name: "work"
folder: "_content/work"
create: true
fields:
- {label: "Title", name: "title", widget: "string"}
- {label: "Publish Date", name: "date", widget: "datetime"}
- {label: "Published", name: "published", widget: "boolean"}
- {label: "Featured Image", name: "imgFeat", widget: "image"}
- {label: "Gallery", name: "gallery", widget: "image", media_library: { config: { multiple: true } } }
- {label: "Body", name: "body", widget: "markdown"}
- {label: "Order", name: "sort", widget: "number"}