64 lines
2.6 KiB
YAML
64 lines
2.6 KiB
YAML
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
|
|
branch: main
|
|
|
|
site_url: https://work.suroh.tk
|
|
|
|
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", required: false}
|
|
- {label: "Gallery", name: "gallery", widget: "image", media_library: { config: { multiple: true } }, required: false }
|
|
- {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", required: false}
|
|
- {label: "Gallery", name: "gallery", widget: "image", media_library: { config: { multiple: true } }, required: false }
|
|
- {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", required: false}
|
|
- {label: "Gallery", name: "gallery", widget: "image", media_library: { config: { multiple: true } }, required: false }
|
|
- {label: "Body", name: "body", widget: "markdown"}
|
|
- {label: "Order", name: "sort", widget: "number"}
|
|
- label: "Pages"
|
|
name: "pages"
|
|
folder: "_content"
|
|
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", required: false}
|
|
- {label: "Gallery", name: "gallery", widget: "image", media_library: { config: { multiple: true } }, required: false }
|
|
- {label: "Body", name: "body", widget: "markdown"}
|
|
- {label: "Order", name: "sort", widget: "number"}
|