mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-14 01:18:13 -05:00
660 B
660 B
title, permalink
| title | permalink |
|---|---|
| Working with drafts | /docs/drafts/ |
Drafts are posts without a date in the filename. 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 section) and create your
first draft:
|-- _drafts/
| |-- a-draft-post.md
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.