diff --git a/blog/source/admin/config.yml b/blog/source/admin/config.yml index dddd6f3..6721737 100644 --- a/blog/source/admin/config.yml +++ b/blog/source/admin/config.yml @@ -2,11 +2,10 @@ backend: name: github repo: gzrjzcx/gzrjzcx.github.io branch: src - app_id: Ov23liAOUp9ca9ChKEkg auth_endpoint: auth -media_folder: "blog/source/res" -public_folder: "blog/source/res" +media_folder: "blog/source/res/decap_uploads" +public_folder: "/artifact/res/decap_uploads" site_url: "https://www.hellscript.cc/" @@ -14,10 +13,12 @@ locale: "zh_Hans" collections: - name: 'blog' label: 'Blog' - folder: '_posts/' + folder: '_posts/blog' + 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: "Tags", name: "tags", widget: "string"}, + - {label: "Categories", name: "categories", widget: "string"} - {label: "Body", name: "body", widget: "markdown"} \ No newline at end of file