From 39d1e6a8429fa883be1c0fbb24a9c7688fa70d67 Mon Sep 17 00:00:00 2001 From: Jameson Zimmer <jamesonzimmer@gmail.com> Date: Wed, 16 Sep 2015 15:55:19 +0800 Subject: [PATCH 1/3] Adding post-specific prose.io configuration :-) --- _config.yml | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/_config.yml b/_config.yml index 946aaa1..58cfada 100644 --- a/_config.yml +++ b/_config.yml @@ -95,16 +95,33 @@ exclude: - LICENSE - README.md -# prose.io options +# Prose.io options. +# If you wish to use Prose.io to update your blog, enter your siteurl below. prose: + rooturl: '_posts' + siteurl: 'http://your-domain.com/' + media: 'img' ignore: - 404.html - LICENSE - feed.xml - - /_includes + - _config.yml - /_layouts + - /_includes - /css - /img - /js - + metadata: + _posts: + - name: "layout" + field: + element: "hidden" + value: "post" + - name: "subtitle" + field: + element: "textarea" + label: "Subtitle" + placeholder: "A description of your post." + alterable: true + # Beautiful Jekyll / Dean Attali From 57d80caada0b017cd3a99ac6abb9f2e73b67ed99 Mon Sep 17 00:00:00 2001 From: Jameson Zimmer <jamesonzimmer@gmail.com> Date: Wed, 16 Sep 2015 16:04:24 +0800 Subject: [PATCH 2/3] Update _config.yml --- _config.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/_config.yml b/_config.yml index 58cfada..0585dad 100644 --- a/_config.yml +++ b/_config.yml @@ -95,11 +95,9 @@ exclude: - LICENSE - README.md -# Prose.io options. -# If you wish to use Prose.io to update your blog, enter your siteurl below. +# prose.io config prose: rooturl: '_posts' - siteurl: 'http://your-domain.com/' media: 'img' ignore: - 404.html @@ -117,11 +115,22 @@ prose: field: element: "hidden" value: "post" + - name: "title" + field: + element: "text" + label: "Post title" + placeholder: "Title" + alterable: true - name: "subtitle" field: element: "textarea" label: "Subtitle" placeholder: "A description of your post." alterable: true + - name: "published" + field: + element: "checkbox" + label: "Publish" + help: "Check to publish post, uncheck to hide." # Beautiful Jekyll / Dean Attali From 0487e0d3fcba29b0bcf776a37c8cced81037cff1 Mon Sep 17 00:00:00 2001 From: Jameson Zimmer <jamesonzimmer@gmail.com> Date: Wed, 16 Sep 2015 16:07:08 +0800 Subject: [PATCH 3/3] adding post-specific prose.io configuration --- _config.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/_config.yml b/_config.yml index 0585dad..4cf5935 100644 --- a/_config.yml +++ b/_config.yml @@ -127,6 +127,13 @@ prose: label: "Subtitle" placeholder: "A description of your post." alterable: true + - name: "date" + field: + element: "text" + label: "Date" + help: "Enter date of post." + placeholder: "yyyy-mm-dd" + alterable: true - name: "published" field: element: "checkbox"