aboutsummaryrefslogtreecommitdiffstats
path: root/site/static/admin/config.yml
diff options
context:
space:
mode:
authorMathias Biilmann Christensen <info@mathias-biilmann.net>2017-02-20 23:57:32 -0800
committerMathias Biilmann Christensen <info@mathias-biilmann.net>2017-02-20 23:57:32 -0800
commitabac30330edd5b7ea718abc230c9d685dfe30c83 (patch)
treefe94c8989a68b03bef7f9a9001b14de504a7433e /site/static/admin/config.yml
parent5248a576a106552a71e720314299e7269d8f5bb5 (diff)
Add preview template for posts in CMS
Diffstat (limited to 'site/static/admin/config.yml')
-rw-r--r--site/static/admin/config.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/site/static/admin/config.yml b/site/static/admin/config.yml
index 5900477..4f6fe4a 100644
--- a/site/static/admin/config.yml
+++ b/site/static/admin/config.yml
@@ -12,6 +12,6 @@ collections: # A list of collections the CMS should be able to edit
folder: "/site/content/post" # The path to the folder where the documents are stored
create: true # Allow users to create new documents in this collection
fields: # The fields each document in this collection have
- - {label: "Title", name: "title", widget: "string", tagname: "h1"}
- - {label: "Body", name: "body", widget: "markdown"}
+ - {label: "Title", name: "title", widget: "string"}
- {label: "Publish Date", name: "date", widget: "datetime"}
+ - {label: "Body", name: "body", widget: "markdown"}