Document `--unpublished` flag introduced in 91e9ecf (#5959)

Merge pull request 5959
This commit is contained in:
Yury V. Zaytsev 2017-03-31 07:32:14 +02:00 committed by jekyllbot
parent 367c452105
commit 201470902a
1 changed files with 8 additions and 0 deletions

View File

@ -99,6 +99,14 @@ front matter of a page or post.
</table>
</div>
<div class="note">
<h5>ProTip™: Render Posts Marked As Unpublished</h5>
<p>
To preview unpublished pages, simply run `jekyll serve` or `jekyll build`
with the `--unpublished` switch. Jekyll also has a handy <a href="../drafts/">drafts</a>
feature tailored specifically for blog posts.
</p>
</div>
## Custom Variables