From 3bc912c3c2a2ad5a4acf37052ad2533daaafae63 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Tue, 9 Jul 2013 23:55:18 +0200 Subject: [PATCH] Really crappy docs page for drafts --- site/docs/drafts.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 site/docs/drafts.md diff --git a/site/docs/drafts.md b/site/docs/drafts.md new file mode 100644 index 00000000..50483595 --- /dev/null +++ b/site/docs/drafts.md @@ -0,0 +1,20 @@ +--- +layout: docs +title: Working with drafts +permalink: /docs/drafts/ +--- + +Drafts are posts without a date. They're posts you're still working on and don't want to +publish yet. To get up and running with drafts, create a `_drafts` folder in your site's +root (as described in the [site structure](/docs/structure/) section) and create your +first draft: + +{% highlight text %} +|-- _drafts/ +| |-- a-draft-post.md +{% endhighlight %} + +To preview your site with your drafts, simply run `jekyll serve` with the `--drafts` +switch. The same goes for `jekyll build`. Each will be assigned the value of `Time.now` +for its date, and thus you will see them generated as the latest posts. +