mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-31 09:48:30 -05:00
Add a drafts feature. This allows you to place draft posts into an _drafts folder in the site root while you're working on them, and then request that they be rendered as normal posts via a command line switch. Draft files should be named just like normal posts, except they must not contain the date prefix. When you're ready to make a post live, rename it with the date and move it to the proper place. To preview your drafts, run Jekyll with the `--drafts` switch. This will render all the posts with a date corresponding to the last time the file was modified.