46 lines
1.7 KiB
YAML
46 lines
1.7 KiB
YAML
|
backend:
|
||
|
name: gitea
|
||
|
repo: suroh/work.suroh.tk
|
||
|
app_id: 7bfaec5d-9c01-49bc-8c3c-d38ad5c7b16a
|
||
|
api_root: https://git.suroh.tk/api/v1
|
||
|
base_url: https://git.suroh.tk
|
||
|
site_domain: work.suroh.tk
|
||
|
branch: main
|
||
|
media_folder: "assets/media"
|
||
|
public_folder: "/assets/media"
|
||
|
# Please run "npx netlify-cms-proxy-server" for local backend
|
||
|
local_backend: false
|
||
|
collections:
|
||
|
- label: "work"
|
||
|
name: "work"
|
||
|
folder: "_content/work"
|
||
|
create: true
|
||
|
fields:
|
||
|
- { label: "title", name: "title", widget: "string" }
|
||
|
- { label: "layout", name: "layout", widget: "hidden", default: "page.njk" }
|
||
|
- { label: "body", name: "body", widget: "markdown" }
|
||
|
- { label: "feature image", name: "imgFeat", widget: "image", media_folder: "images" }
|
||
|
- { label: "gallery", name: "gallery", widget: "image", allow_multiple: true, media_folder: "images" }
|
||
|
- label: "audio"
|
||
|
name: "audio"
|
||
|
folder: "_content/audio"
|
||
|
create: true
|
||
|
fields:
|
||
|
- { label: "title", name: "title", widget: "string" }
|
||
|
- { label: "layout", name: "layout", widget: "hidden", default: "page.njk" }
|
||
|
- { label: "body", name: "body", widget: "markdown" }
|
||
|
- { label: "feature image", name: "imgFeat", widget: "image", media_folder: "images" }
|
||
|
- { label: "gallery", name: "gallery", widget: "image", allow_multiple: true, media_folder: "images" }
|
||
|
- label: "Settings"
|
||
|
name: "settings"
|
||
|
editor:
|
||
|
preview: false
|
||
|
files:
|
||
|
- label: "Meta Settings"
|
||
|
name: "settings"
|
||
|
file: "src/_data/settings.yaml"
|
||
|
fields:
|
||
|
- { label: Name, name: name, widget: string }
|
||
|
- { label: Author, name: author, widget: string }
|
||
|
- { label: URL, name: url, widget: string }
|