Move note about drafts on Upgrading page a bit higher.

This commit is contained in:
Parker Moore 2013-06-01 16:07:14 +02:00
parent d9784fa55c
commit b3908d5bf7
1 changed files with 17 additions and 17 deletions

View File

@ -52,6 +52,23 @@ instead of relative permalinks.
</p> </p>
</div> </div>
### Draft Posts
Jekyll now lets you write draft posts, and allows you to easily preview how
they will look prior to publishing. To start a draft, simply create a folder
called `_drafts` in your site's source directory (e.g., alongside `_posts`),
and add a new markdown file to it. To preview your new post, simply run the
`jekyll serve` command with the `--drafts` flag.
<div class="note info">
<h5 markdown="1">Drafts don't have dates</h5>
<p markdown="1">
Unlike posts, drafts don't have a date, since they haven't
been published yet. Rather than naming your draft something like
`2013-07-01-my-draft-post.md`, simply name the file what you'd like your
post to eventually be titled, here `my-draft-post.md`.</p>
</div>
### Custom Config File ### Custom Config File
Rather than passing individual flags via the command line, you can now pass an Rather than passing individual flags via the command line, you can now pass an
@ -98,23 +115,6 @@ if so, make sure that you're using them properly:
* `timezone` * `timezone`
* `url` * `url`
### Draft Posts
Jekyll now lets you write draft posts, and allows you to easily preview how
they will look prior to publishing. To start a draft, simply create a folder
called `_drafts` in your site's source directory (e.g., alongside `_posts`),
and add a new markdown file to it. To preview your new post, simply run the
`jekyll serve` command with the `--drafts` flag.
<div class="note info">
<h5 markdown="1">Drafts don't have dates</h5>
<p markdown="1">
Unlike posts, drafts don't have a date, since they haven't
been published yet. Rather than naming your draft something like
`2013-07-01-my-draft-post.md`, simply name the file what you'd like your
post to eventually be titled, here `my-draft-post.md`.</p>
</div>
### Baseurl ### Baseurl
Often, you'll want the ability to run a Jekyll site in multiple places, such as Often, you'll want the ability to run a Jekyll site in multiple places, such as