mirror of
https://github.com/tiennm99/ocrot.git
synced 2026-10-15 02:17:21 +00:00
[Add] homepage config
This commit is contained in:
1 parent
c3c5a32d66
commit
10836bab29
3 files changed
+79
-114
No files matched your search
+72
-28
@@ -1,8 +1,9 @@
|
||||
backend:
|
||||
name: git-gateway
|
||||
branch: main
|
||||
# name: git-gateway
|
||||
name: "test-repo"
|
||||
branch: "main"
|
||||
|
||||
publish_mode: editorial_workflow
|
||||
#publish_mode: editorial_workflow
|
||||
|
||||
media_folder: "static/images"
|
||||
public_folder: "images"
|
||||
@@ -15,9 +16,9 @@ collections:
|
||||
slug: "{{year}}-{{month}}-{{day}}-{{slug}}"
|
||||
fields:
|
||||
- { label: "Title", name: "title", widget: "string" }
|
||||
- { label: "Publish Date", name: "date", widget: "datetime" }
|
||||
- { label: "Date", name: "date", widget: "datetime" }
|
||||
- { label: "Image", name: "image", widget: "image", required: false }
|
||||
- { label: "Intro Blurb", name: "description", widget: "text" }
|
||||
- { label: "Description", name: "description", widget: "text" }
|
||||
- { label: "Type", name: "type", widget: "select",options: [ "post" ], default: "post" }
|
||||
- { label: "Body", name: "body", widget: "markdown" }
|
||||
- name: "settings"
|
||||
@@ -30,27 +31,70 @@ collections:
|
||||
label: "Homepage"
|
||||
name: "homepage"
|
||||
fields:
|
||||
- label: About
|
||||
name: about
|
||||
widget: list
|
||||
- label: "Hero Area"
|
||||
name: "hero_area"
|
||||
widget: "object"
|
||||
fields:
|
||||
- label: Enable
|
||||
name: enable
|
||||
widget: boolean
|
||||
default: true
|
||||
- label: Image
|
||||
name: image
|
||||
widget: image
|
||||
- label: Title
|
||||
name: title
|
||||
widget: string
|
||||
- label: Description
|
||||
name: description
|
||||
widget: text
|
||||
- file: "content/test.yml"
|
||||
label: "test"
|
||||
name: "Test"
|
||||
fields:
|
||||
- label: About
|
||||
name: about
|
||||
widget: string
|
||||
- { label: "Enable", name: "enable", widget: "boolean", default: true }
|
||||
- { label: "Background Image", name: "bg_image", widget: "image" }
|
||||
- { label: "Overlay", name: "overlay", widget: "boolean", default: true }
|
||||
- label: "Gallery"
|
||||
name: "gallery"
|
||||
widget: "object"
|
||||
fields:
|
||||
- { label: "Enable", name: "enable", widget: "boolean", default: true }
|
||||
- { label: "Title", name: "title", widget: "string" }
|
||||
- label: "Images"
|
||||
name: "images"
|
||||
widget: "list"
|
||||
field: {label: "Image", name: "image", widget: "image"}
|
||||
- label: "About"
|
||||
name: "about"
|
||||
widget: "object"
|
||||
fields:
|
||||
- { label: "Enable", name: "enable", widget: "boolean", default: true }
|
||||
- { label: "Image", name: "image", widget: "image" }
|
||||
- { label: "Title", name: "title", widget: "string" }
|
||||
- { label: "Description", name: "description", widget: "text" }
|
||||
- label: "Blog"
|
||||
name: "blog"
|
||||
widget: "object"
|
||||
fields:
|
||||
- { label: "Enable", name: "enable", widget: "boolean", default: true }
|
||||
- { label: "Title", name: "title", widget: "string" }
|
||||
- { label: "Background Image", name: "bg_image", widget: "image" }
|
||||
- { label: "Overlay", name: "overlay", widget: "boolean", default: true }
|
||||
- label: "Pricing"
|
||||
name: "pricing"
|
||||
widget: "object"
|
||||
fields:
|
||||
- { label: "Enable", name: "enable", widget: "boolean", default: true }
|
||||
- { label: "Title", name: "title", widget: "string" }
|
||||
- { label: "Description", name: "description", widget: "text" }
|
||||
- { label: "Subtitle", name: "subtitle", widget: "string" }
|
||||
- label: "Pricing Item"
|
||||
name: "pricing_item"
|
||||
widget: "list"
|
||||
field:
|
||||
- { label: "Title", name: "title", widget: "string" }
|
||||
- { label: "Price", name: "price", widget: "text" }
|
||||
- { label: "Price", name: "price", widget: "string" }
|
||||
- label: "Subscription"
|
||||
name: "subscription"
|
||||
widget: "object"
|
||||
fields:
|
||||
- { label: "Enable", name: "enable", widget: "boolean", default: true }
|
||||
- { label: "Background Image", name: "bg_image", widget: "image" }
|
||||
- { label: "Title", name: "title", widget: "string" }
|
||||
- { label: "Description", name: "description", widget: "text" }
|
||||
- { label: "Form Action", name: "form_action", widget: "string", default: "#" }
|
||||
- { label: "Form Name", name: "formName", widget: "string", default: "#" }
|
||||
- { label: "Overlay", name: "overlay", widget: "boolean", default: true }
|
||||
- label: "Contact"
|
||||
name: "contact"
|
||||
widget: "object"
|
||||
fields:
|
||||
- { label: "Enable", name: "enable", widget: "boolean", default: true }
|
||||
- { label: "Title", name: "title", widget: "string" }
|
||||
- { label: "Subtitle", name: "subtitle", widget: "string" }
|
||||
- { label: "Form Action", name: "form_action", widget: "string", default: "#" }
|
||||
Reference in new issue
Block a user