fix cms config for publishDate / lastMod date
This commit is contained in:
parent
4cf54c1e53
commit
ec5f9ab5a8
|
@ -22,8 +22,8 @@ collections:
|
||||||
- {label: "Layout", name: "layout", widget: "hidden", default: "post", required: true}
|
- {label: "Layout", name: "layout", widget: "hidden", default: "post", required: true}
|
||||||
- {label: "Title", name: "title", widget: "string", required: true}
|
- {label: "Title", name: "title", widget: "string", required: true}
|
||||||
- {label: "Author", name: "author", widget: "string", required: true}
|
- {label: "Author", name: "author", widget: "string", required: true}
|
||||||
- {label: "Publish Date", name: "pubDate", widget: "datetime", date_format: 'yyyy-MM-dd', time_format: false, required: true}
|
- {label: "Publish Date", name: "publishDate", widget: "datetime", date_format: 'yyyy-MM-dd', time_format: false, required: true}
|
||||||
- {label: "Last Modified", name: "modDate", widget: "datetime", date_format: 'yyyy-MM-dd', time_format: false, required: true}
|
- {label: "Last Modified", name: "lastMod", widget: "datetime", date_format: 'yyyy-MM-dd', time_format: false, required: true}
|
||||||
- {label: "Show TOC?", name: "toc", widget: "boolean", default: true}
|
- {label: "Show TOC?", name: "toc", widget: "boolean", default: true}
|
||||||
- {label: "Draft?", name: "draft", widget: "boolean", default: true}
|
- {label: "Draft?", name: "draft", widget: "boolean", default: true}
|
||||||
- name: categories
|
- name: categories
|
||||||
|
@ -59,8 +59,8 @@ collections:
|
||||||
- {label: "Layout", name: "layout", widget: "hidden", default: "post", required: true}
|
- {label: "Layout", name: "layout", widget: "hidden", default: "post", required: true}
|
||||||
- {label: "Title", name: "title", widget: "string", required: true}
|
- {label: "Title", name: "title", widget: "string", required: true}
|
||||||
- {label: "Author", name: "author", widget: "string", required: true}
|
- {label: "Author", name: "author", widget: "string", required: true}
|
||||||
- {label: "Publish Date", name: "pubDate", widget: "datetime", date_format: 'yyyy-MM-dd', time_format: false, required: true}
|
- {label: "Publish Date", name: "publishDate", widget: "datetime", date_format: 'yyyy-MM-dd', time_format: false, required: true}
|
||||||
- {label: "Last Modified", name: "modDate", widget: "datetime", date_format: 'yyyy-MM-dd', time_format: false, required: true}
|
- {label: "Last Modified", name: "lastMod", widget: "datetime", date_format: 'yyyy-MM-dd', time_format: false, required: true}
|
||||||
- {label: "Show TOC?", name: "toc", widget: "boolean", default: true}
|
- {label: "Show TOC?", name: "toc", widget: "boolean", default: true}
|
||||||
- {label: "Draft?", name: "draft", widget: "boolean", default: true}
|
- {label: "Draft?", name: "draft", widget: "boolean", default: true}
|
||||||
- name: categories
|
- name: categories
|
||||||
|
|
|
@ -22,8 +22,8 @@ collections:
|
||||||
- {label: "Layout", name: "layout", widget: "hidden", default: "post", required: true}
|
- {label: "Layout", name: "layout", widget: "hidden", default: "post", required: true}
|
||||||
- {label: "Title", name: "title", widget: "string", required: true}
|
- {label: "Title", name: "title", widget: "string", required: true}
|
||||||
- {label: "Author", name: "author", widget: "string", required: true}
|
- {label: "Author", name: "author", widget: "string", required: true}
|
||||||
- {label: "Publish Date", name: "pubDate", widget: "datetime", date_format: 'YYYY-MM-DD', time_format: false, required: true}
|
- {label: "Publish Date", name: "publishDate", widget: "datetime", date_format: 'YYYY-MM-DD', time_format: false, required: true}
|
||||||
- {label: "Last Modified", name: "modDate", widget: "datetime", date_format: 'YYYY-MM-DD', time_format: false, required: true}
|
- {label: "Last Modified", name: "lastMod", widget: "datetime", date_format: 'YYYY-MM-DD', time_format: false, required: true}
|
||||||
- {label: "Show TOC?", name: "toc", widget: "boolean", default: true}
|
- {label: "Show TOC?", name: "toc", widget: "boolean", default: true}
|
||||||
- {label: "Draft?", name: "draft", widget: "boolean", default: true}
|
- {label: "Draft?", name: "draft", widget: "boolean", default: true}
|
||||||
- label: "Categories"
|
- label: "Categories"
|
||||||
|
|
Loading…
Reference in a new issue