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

fix

parent 77e581e5
......@@ -26,27 +26,28 @@ collections:
- { label: "content", name: "content", widget: "markdown"}
- { label: "coverpic", name: "coverpic", widget: "image" }
- name: "frontpage"
label: "frontpage"
- name: "frontPage"
label: "frontPage"
files:
- label: "frontPage"
name: "frontPage"
file: "content/frontPage.md"
fields:
- label: 'articles'
name: "articles"
widget: list
fields:
- { label: "Title", name: "title", widget: "string" }
- { label: "type", name: "type", widget: "string", required: false}
- { label: "createDate", name: "createDate", widget: "datetime" }
- { label: "Abstract", name: "abstract", widget: "text" }
- { label: "content", name: "content", widget: "markdown"}
- { label: "coverpic", name: "coverpic", widget: "image" }
- label: "articleurl"
name: "articleurl"
widget: "relation"
collection: "News"
value_field: "title"
search_fields: ["title"]
multiple: true
\ No newline at end of file
- { label: "MetaDescription", name: "metaDescription", widget: "text"}
- label: 'articles'
name: "articles"
widget: list
fields:
- { label: "Title", name: "title", widget: "string" }
- { label: "type", name: "type", widget: "string", required: false}
- { label: "createDate", name: "createDate", widget: "datetime" }
- { label: "Abstract", name: "abstract", widget: "text" }
- { label: "content", name: "content", widget: "markdown"}
- { label: "coverpic", name: "coverpic", widget: "image" }
- label: "articleurl"
name: "articleurl"
widget: "relation"
collection: "News"
value_field: "title"
search_fields: ["title"]
multiple: true
\ 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