Sha256: db2a240ea86ae0f5ceb9ff044119c7c474302763b7af5963f92f139147dd9c51

Contents?: true

Size: 726 Bytes

Versions: 20

Compression:

Stored size: 726 Bytes

Contents

---
layout: docs
title: Working with drafts
prev_section: posts
next_section: pages
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 drafts, simply run `jekyll serve` or `jekyll build` with
the `--drafts` switch.  Each will be assigned the value modification time of the draft file
for its date, and thus you will see currently edited drafts as the latest posts.

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
jekyll-2.2.0 site/docs/drafts.md
jekyll-2.1.1 site/docs/drafts.md
jekyll-2.1.0 site/docs/drafts.md
jekyll-2.0.3 site/docs/drafts.md
jekyll-2.0.2 site/docs/drafts.md
jekyll-2.0.1 site/docs/drafts.md
jekyll-2.0.0 site/docs/drafts.md
jekyll-2.0.0.rc1 site/docs/drafts.md
jekyll-2.0.0.alpha.3 site/docs/drafts.md
jekyll-1.5.1 site/docs/drafts.md
jekyll-2.0.0.alpha.2 site/docs/drafts.md
jekyll-1.5.0 site/docs/drafts.md
tigefa-1.1.2 site/docs/drafts.md
jekyll-2.0.0.alpha.1 site/docs/drafts.md
tigefa-1.1.1 site/docs/drafts.md
jekyll-1.4.3 site/docs/drafts.md
jekyll-1.4.2 site/docs/drafts.md
jekyll-1.4.1 site/docs/drafts.md
jekyll-1.4.0 site/docs/drafts.md
jekyll-1.3.1 site/docs/drafts.md