From 4c00b3aefe21a920d418c81baaa5ce77ca7ea386 Mon Sep 17 00:00:00 2001 From: Mantas <11616378+mistermantas@users.noreply.github.com> Date: Wed, 8 Aug 2018 12:41:32 +0300 Subject: Try to fix new creation bug in Netlify CMS --- static/admin/config.yml | 4 ++-- 1 file 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} -- cgit v1.2.3-70-g09d2