spf13/hugo — pull request #501 by natefinch (2014-09-11 02:38:15+00:00)
Title: make the value of the BuildDrafts flag available to templates.

This can be very useful for templates that want to show data only when run locally on your machine. I use it as a way to keep some data hidden from the published website, that is displayed only to me when I run locally showing drafts. This can also be useful to partition off drafts in a list that only shows up when you know you're building drafts.