work.suroh.tk/office/config.yml

64 lines
2.6 KiB
YAML
Raw Permalink 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", required: false}
- {label: "Gallery", name: "gallery", widget: "image", media_library: { config: { multiple: true } }, required: false }
2023-11-16 15:01:33 +00:00
- {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 }
2023-11-16 15:01:33 +00:00
- {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 }
2023-11-16 15:01:33 +00:00
- {label: "Body", name: "body", widget: "markdown"}
- {label: "Order", name: "sort", widget: "number"}
2024-02-01 21:23:17 +00:00
- 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"}