Draft posts in Jekyll
{% for post in site.posts %}
{% unless post.draft %}
<li>
<a href="{{ post.url }}">{{ post.title }}</a>
</li>
{% endunless %}
{% endfor %}
---
title: My example draft post
date: 2012-06-04
slug: 2012/06/04/my-example-draft-post
draft: true
---
This post shouldn't show up in overview pages due to its `draft` key being set.
(Jekyll doesn't care what extra keys are set, so why not use that feature.)