Commit 72348941 authored by 吕祺's avatar 吕祺 ⛹🏽

frontpage config

parent 8a7466d6
......@@ -68,7 +68,7 @@ collections:
sortable_fields: ['type', 'title','createDate', 'highLight','source']
create: true
identifier_field: name
folder: "content/article"
folder: "content/linkarticle"
summary: "{{title}} {{createDate}}"
fields:
- { label: "Title", name: "title", widget: "string" }
......@@ -79,17 +79,21 @@ collections:
- { label: "coverpic", name: "coverpic", widget: "image" }
- { label: "Link", name: "link", widget: "text" }
- label: "RonghuiPage"
name: "ronghui"
widget: list
fields:
- label: "Category"
name: "title"
widget: "select"
options: ["战略", "组织", "增长", "资本市场", "行业"]
- { label: "Title", name: "title", widget: "string" }
- { label: "SubTitle", name: "subTitle", widget: "string" }
- { label: "Author", name: "author", widget: "string" }
- { label: "AuthorTitle", name: "authorTitle", widget: "string" }
- { label: "Cover", name: "cover", widget: "image" }
- { label: "JumpUrl", name: "jumpUrl", widget: "string" }
\ No newline at end of file
# - label: "RonghuiPage"
# name: "ronghui"
# create: true
# identifier_field: name
# folder: "content/linkarticle"
# summary: "{{title}} {{createDate}}"
# widget: list
# fields:
# - label: "Category"
# name: "title"
# widget: "select"
# options: ["战略", "组织", "增长", "资本市场", "行业"]
# - { label: "Title", name: "title", widget: "string" }
# - { label: "SubTitle", name: "subTitle", widget: "string" }
# - { label: "Author", name: "author", widget: "string" }
# - { label: "AuthorTitle", name: "authorTitle", widget: "string" }
# - { label: "Cover", name: "cover", widget: "image" }
# - { label: "JumpUrl", name: "jumpUrl", widget: "string" }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment