diff --git a/office/config.yml b/office/config.yml new file mode 100644 index 0000000..83c37ff --- /dev/null +++ b/office/config.yml @@ -0,0 +1,51 @@ +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: localhost:8080 + branch: main + +site_url: http://localhost:8080 + +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"} diff --git a/office/index.html b/office/index.html new file mode 100644 index 0000000..d63e7b0 --- /dev/null +++ b/office/index.html @@ -0,0 +1,13 @@ + + + + + + + work.suroh : admin + + + + + +