Skip to content

Commit

Permalink
- decap config;
Browse files Browse the repository at this point in the history
  • Loading branch information
gzrjzcx committed Jun 27, 2024
1 parent 2eb7cea commit f661150
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions blog/source/admin/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,17 +77,6 @@ collections:
- {label: "Tags", name: "tags", widget: "string"}
- {label: "Categories", name: "categories", widget: "string"}
- {label: "Body", name: "body", widget: "markdown"}
- name: 'subposts_life'
label: 'Blog'
folder: 'blog/source/_posts/subposts_life'
create: true
fields: # 这里这些字段对应到你写文章的 markdown 上方的一些文章属性 widget 的配置可以参考官方文档的 widget 部分
- {label: "Layout", name: "layout", widget: "hidden", default: "post"}
- {label: "Title", name: "title", widget: "string", tagname: "h1"}
- {label: "Date", name: "date", widget: "datetime", format: "YYYY-MM-DD hh:mm:ss"}
- {label: "Tags", name: "tags", widget: "string"}
- {label: "Categories", name: "categories", widget: "string"}
- {label: "Body", name: "body", widget: "markdown"}
- name: 'subposts_notes'
label: 'Blog'
folder: 'blog/source/_posts/subposts_notes'
Expand Down

0 comments on commit f661150

Please sign in to comment.