Created
June 4, 2012 20:22
-
-
Save czottmann/2870636 to your computer and use it in GitHub Desktop.
Draft posts in Jekyll
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% for post in site.posts %} | |
{% unless post.draft %} | |
<li> | |
<a href="{{ post.url }}">{{ post.title }}</a> | |
</li> | |
{% endunless %} | |
{% endfor %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is what I was looking for. Thanks.