mojombo/jekyll — Issue #469: Added --unpublished option to render unpublished posts
Author: danielford
Created: 2012-01-11 08:31:16+00:00
State: open

New _config.yml and command-line option to control whether unpublished posts get rendered (along the same lines as the --future option). This is useful so that I can preview posts locally without accidentally publishing them if I forget to set "published: false" before pushing to my repo.

I'm not sure if this overlaps with https://github.com/mojombo/jekyll/issues/41 or not. I believe fixing that the "right way" would be quite a bit more involved, whereas this is a fairly simple addition.

My branch is here: https://github.com/danielford/jekyll/tree/unpublished