From 500440ff9b8923c658f44dc2d07f6f71e472a63d Mon Sep 17 00:00:00 2001 From: KemoNine Date: Sun, 19 Mar 2023 13:11:02 -0400 Subject: [PATCH] test markdown support in static cms --- themes/hugo-xmin/static/admin/desktop/config.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/themes/hugo-xmin/static/admin/desktop/config.yml b/themes/hugo-xmin/static/admin/desktop/config.yml index 2db7f7e..cd49646 100644 --- a/themes/hugo-xmin/static/admin/desktop/config.yml +++ b/themes/hugo-xmin/static/admin/desktop/config.yml @@ -47,7 +47,9 @@ collections: - name: tag label: Tag widget: string - - {label: "Body", name: "body", widget: "markdown", required: true} + - name: body + label: Blog post content + widget: markdown - name: "tips" # Used in routes, e.g., /admin/collections/blog label: "Tips" # Used in the UI folder: "content/tips" # The path to the folder where the documents are stored @@ -84,4 +86,6 @@ collections: - name: tag label: Tag widget: string - - {label: "Body", name: "body", widget: "markdown", required: true} + - name: body + label: Blog post content + widget: markdown