From 4857c2134ecd191a3a44cdec15ace81a795134a5 Mon Sep 17 00:00:00 2001 From: Morgan Date: Mon, 30 Oct 2023 17:08:43 +0900 Subject: [PATCH] Update static/admin/config.yml --- static/admin/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/static/admin/config.yml b/static/admin/config.yml index 4850119..c7e9a6e 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -17,7 +17,7 @@ collections: publish_mode: editorial_workflow slug: '{{year}}-{{month}}-{{day}}-{{slug}}' editor: - preview: false + preview: true fields: - { label: 'Title', name: 'title', widget: 'string' } - { label: 'Publish Date', name: 'date', widget: 'datetime' } @@ -27,12 +27,12 @@ collections: - name: 'diary' label: 'Diary' - folder: 'content/blog' + folder: 'content/diary' create: true publish_mode: editorial_workflow slug: '{{year}}-{{month}}-{{day}}-{{slug}}' editor: - preview: false + preview: true fields: - { label: 'Title', name: 'title', widget: 'string' } - { label: 'Publish Date', name: 'date', widget: 'datetime' }