Fix feed.xml.builder breaking on empty blogs #155

merged 1 commit into from Sep 17, 2013


None yet

2 participants


No description provided.

bhollis commented Sep 7, 2013

Thanks! But why have a blog if it's empty?

Also, the second guard isn't necessary:

> [][0..5]
 => []
  1. The user might start working on the layout and css for a blog-enabled project that doesn't have a post yet.
  2. Writing new blog-enabled templates will require a sample post not to break out-of-the-box.
  3. I bet multi-blogs will find this useful.
@bhollis bhollis merged commit 03af217 into middleman:master Sep 17, 2013

1 check passed

default The Travis CI build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment