From 88fd31c7d1c0f5102af39f0e732a795396abcdd4 Mon Sep 17 00:00:00 2001 From: Stuart Colville Date: Fri, 8 Feb 2019 12:35:08 +0000 Subject: [PATCH] Add docs for using the draft feature --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 27d4188a..8ba801e0 100644 --- a/README.md +++ b/README.md @@ -36,8 +36,8 @@ This site has two templates: the Extension Workshop landing page and Content Gui 1. Create new file 2. Add header (see example below) -3. Copy 'modules' needed from content-guidelines-master-template.md and paste in new file -4. Save as markdown: page-name.md +3. Copy 'modules' needed from `content-guidelines/master-template.md` and paste in new file +4. Save as markdown: `content-guidelines/page-name.md` ``` --- @@ -66,14 +66,18 @@ For finer control you can use: #### Add the page to the menu -Go to data/content-guidelines-pages.yaml and add a new entry for your page: +Go to `_data/content-guidelines-pages.yaml` and add a new entry for your page: ``` - title: "Page Name" url: "/content-guidelines/page-name/" - + draft: true ``` +#### Controlling draft state + +If you don't want the page to appear as a draft or as and when it's ready remove `draft: true` from the relevant entry in `_data/content-guidelines.yaml` + ## Deployment The site is auto-deployed on commits to master to https://extensionworkshop.allizom.org/