sts10/radiation — pull request #8 by gunnarhafdal (2014-11-23 21:04:32+00:00)
Title: Added draft support

Not sure if this is of any real use because I'm not sure how the people that use Radiation (Radiationers?) handle their drafts. Because the posts don't contain any front-matter like the posts for systems like Jekyll I went with the simplest solution I could come up with. If the first line in a post is "draft" (not case sensitive) then it won't get published. That's it.

I then added some code that tallies up your draft posts and writes them out when you are done publishing the blog, and I also show the draft status in the edit/delete menu.
![radiation-edit-menu-showing-a-draft](https://cloud.githubusercontent.com/assets/6490798/5159209/43d503f6-735c-11e4-99a3-23a1ca7a8c5b.png)
The feature to show them in the edit/delete menu does have to read the first line of every file. I'm not sure how that will scale in the long run.