diff options
| author | Mathias Biilmann Christensen <info@mathias-biilmann.net> | 2017-02-20 23:57:32 -0800 |
|---|---|---|
| committer | Mathias Biilmann Christensen <info@mathias-biilmann.net> | 2017-02-20 23:57:32 -0800 |
| commit | abac30330edd5b7ea718abc230c9d685dfe30c83 (patch) | |
| tree | fe94c8989a68b03bef7f9a9001b14de504a7433e /site/static | |
| parent | 5248a576a106552a71e720314299e7269d8f5bb5 (diff) | |
Add preview template for posts in CMS
Diffstat (limited to 'site/static')
| -rw-r--r-- | site/static/admin/config.yml | 4 | ||||
| -rw-r--r-- | site/static/admin/index.html | 4 |
2 files changed, 4 insertions, 4 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"} 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 @@ <title>Content Manager</title> <!-- Include the stylesheets from your site here --> - <link rel="stylesheet" href="https://unpkg.com/netlify-cms@^0.1/dist/cms.css" /> + <link rel="stylesheet" href="https://unpkg.com/netlify-cms@^0.3.9/dist/cms.css" /> <!-- Include a CMS specific stylesheet here --> </head> <body> - <script src="https://unpkg.com/netlify-cms@0.1.15/dist/cms.js"></script> + <script src="/cms.js"></script> </body> </html> |
