Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from Sep 17, 2013

Conversation

@barraponto
Copy link
Contributor

@barraponto barraponto commented Sep 6, 2013

No description provided.

@bhollis
Copy link
Member

@bhollis bhollis commented Sep 7, 2013

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

Also, the second guard isn't necessary:

> [][0..5]
 => []

@barraponto
Copy link
Contributor Author

@barraponto barraponto commented Sep 7, 2013

  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 added a commit that referenced this issue Sep 17, 2013
Fix feed.xml.builder breaking on empty blogs
@bhollis bhollis merged commit 03af217 into middleman:master Sep 17, 2013
1 check passed
1 check passed
@tdreyno
default The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants