From abac30330edd5b7ea718abc230c9d685dfe30c83 Mon Sep 17 00:00:00 2001 From: Mathias Biilmann Christensen Date: Mon, 20 Feb 2017 23:57:32 -0800 Subject: Add preview template for posts in CMS --- site/layouts/partials/head.html | 4 ++-- site/layouts/partials/svg.html | 2 +- site/static/admin/config.yml | 4 ++-- site/static/admin/index.html | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) (limited to 'site') diff --git a/site/layouts/partials/head.html b/site/layouts/partials/head.html index 6c5c593..bd2f1da 100644 --- a/site/layouts/partials/head.html +++ b/site/layouts/partials/head.html @@ -23,8 +23,8 @@ - - + + diff --git a/site/layouts/partials/svg.html b/site/layouts/partials/svg.html index 5a7068f..3770b1f 100644 --- a/site/layouts/partials/svg.html +++ b/site/layouts/partials/svg.html @@ -1,5 +1,5 @@
- +
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"} diff --git a/site/static/admin/index.html b/site/static/admin/index.html index 7b7818c..baa6e33 100644 --- a/site/static/admin/index.html +++ b/site/static/admin/index.html @@ -6,11 +6,11 @@ Content Manager - + - + -- cgit v1.3