From 22073d6db2f2a2c6b2cc50705ecb8803ee954c3b Mon Sep 17 00:00:00 2001 From: Eric Jinks Date: Fri, 13 Oct 2017 17:23:27 +1000 Subject: [PATCH] Add home.json --- content/pages/home.json | 1 + public/admin/config.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 content/pages/home.json diff --git a/content/pages/home.json b/content/pages/home.json new file mode 100644 index 0000000..81cd872 --- /dev/null +++ b/content/pages/home.json @@ -0,0 +1 @@ +{"title":"About page title","body":"#### This is the about page body!\n\n`inline-code`\n"} \ No newline at end of file diff --git a/public/admin/config.yml b/public/admin/config.yml index f27a187..1ed2dc9 100644 --- a/public/admin/config.yml +++ b/public/admin/config.yml @@ -10,7 +10,7 @@ collections: # A list of collections the CMS should be able to edit - name: "pages" label: "Pages" files: - - file: "content/pages/home.md" + - file: "content/pages/home.json" label: "Home Page" name: "home-page" fields: