README.md in middleman-blog-drafts-0.0.2 vs README.md in middleman-blog-drafts-0.1.0

- old
+ new

@@ -1,7 +1,9 @@ # middleman-blog-drafts +[![Build Status](https://travis-ci.org/fgrehm/middleman-blog-drafts.png?branch=master)](https://travis-ci.org/fgrehm/middleman-blog-drafts) + middleman-blog-drafts is an addon for [middleman-blog](https://github.com/middleman/middleman-blog) that simplifies draft posts creation and publishing. ## Install @@ -31,12 +33,12 @@ ``` ## Listing drafts on a page ```erb -<% unless settings.build? %> +<% if settings[:environment] == :development %> <ul> - <%= drafts.each do |draft| %> + <% drafts.each do |draft| %> <li><%= link_to draft.title, draft.path %></li> <% end %> </ul> <% end %> ```