修改Decap配置
All checks were successful
Build and Deploy Qingshuige / build-deploy (push) Successful in 2s
All checks were successful
Build and Deploy Qingshuige / build-deploy (push) Successful in 2s
This commit is contained in:
@@ -11,11 +11,12 @@ public_folder: "/uploads"
|
|||||||
|
|
||||||
collections:
|
collections:
|
||||||
- name: "blog"
|
- name: "blog"
|
||||||
label: "Blog"
|
label: "文章"
|
||||||
folder: "content/blog"
|
folder: "content/blog"
|
||||||
create: true
|
create: true
|
||||||
slug: "{{slug}}"
|
slug: "{{slug}}"
|
||||||
fields:
|
fields:
|
||||||
- { label: "Title", name: "title", widget: "string" }
|
- { label: "标题", name: "title", widget: "string" }
|
||||||
- { label: "Date", name: "date", widget: "datetime" }
|
- { label: "日期", name: "date", widget: "datetime" }
|
||||||
|
- { label: "作者", name: "author", widget: "string", default: "佚名" }
|
||||||
- { label: "Body", name: "body", widget: "markdown" }
|
- { label: "Body", name: "body", widget: "markdown" }
|
||||||
|
|||||||
Reference in New Issue
Block a user