diff options
author | Mantas <11616378+mistermantas@users.noreply.github.com> | 2018-08-08 12:41:32 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-08 12:41:32 +0300 |
commit | 4c00b3aefe21a920d418c81baaa5ce77ca7ea386 (patch) | |
tree | 15fbcaea9e6da3072817a3a7ed5c3b9f9c4f2166 /static/admin | |
parent | 548744218e494590e1dd3b9c2a7c8ff68f13b7e8 (diff) |
Try to fix new creation bug in Netlify CMS
Diffstat (limited to 'static/admin')
-rw-r--r-- | static/admin/config.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/static/admin/config.yml b/static/admin/config.yml index c738b87..b1c5c31 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -23,10 +23,10 @@ collections: description: "Welcome to the cState admin panel! Here you can create new incidents or manage existing ones. Go ahead and give it a shot." folder: "content/issues" create: true - slug: "{{year}}-{{month}}-{{day}}-{{slug}}" + slug: "{{slug}}" fields: - {label: "Mark as incident", name: "Section", widget: "hidden", default: "issue"} - - {label: "Title", name: "Title", widget: "string"} + - {label: "Title", name: "title", widget: "string"} - {label: "Start date & time (your time)", name: "Date", widget: "datetime"} - {label: "Mark as resolved", name: "Resolved", widget: "boolean", required: false} - {label: "End date & time (your time)", name: "ResolvedWhen", widget: "datetime", required: false} |