Skip to content

Commit

Permalink
Update config.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
HsiangNianian authored Jan 23, 2023
1 parent b45ac22 commit 0465c70
Showing 1 changed file with 0 additions and 62 deletions.
62 changes: 0 additions & 62 deletions static/admin/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,65 +100,3 @@ collections:
folder: "docs"
create: true # 允许创建新文件
slug: "{{slug}}" # 文件名字模版,{{slug}} 取自title
fields: # 定义front matter的显示与数据类型
- { label: "Title", name: "title", widget: "string" }
- {
label: "Author",
name: "author",
widget: "string",
default: "简律纯",
}
- { label: "Type", name: "type", widget: "string", default: "post" }
- { label: "Categories", name: "categories", widget: "list" }
- { label: "Tags", name: "tags", widget: "list" }
- { label: "Series", name: "series", widget: "list", required: false }
- { label: "Publish Date", name: "date", widget: "datetime" }
- {
label: "Lastmod",
name: "lastmod",
widget: "date",
default: "",
required: false,
format: "YYYY-MM-DD",
}
- {
label: "Description",
name: "description",
widget: "text",
required: false,
}
- {
label: "Featured Image",
name: "featured",
widget: "image",
required: false,
}
- {
label: "Featured Alt",
name: "featuredalt",
widget: "string",
required: false,
}
- {
label: "Featured Path",
name: "featuredpath",
widget: "string",
default: "img/post",
required: false,
}
- { label: "Slug", name: "slug", widget: "string", required: false }
- {
label: "Draft",
name: "draft",
widget: "boolean",
default: false,
required: false,
}
- {
label: "Show TOC",
name: "showtoc",
widget: "boolean",
default: true,
required: false,
}
- { label: "Post Content", name: "body", widget: "markdown" }

0 comments on commit 0465c70

Please sign in to comment.