middleman / middleman-blog

Blog Engine Extension for Middleman
https://middlemanapp.com
MIT License
326 stars 179 forks source link

Blog only allows unique titles? #267

Closed alekseyg closed 9 years ago

alekseyg commented 9 years ago

I have a collection that contains a lot of repeat "articles," but only the latest ones with the same title show up in the list when using page_articles.each. Is there a way to allow multiple titles? Also, it completely chokes if I remove the title attribute from the front matter, even when my config doesn't require a title. Here's my config:

activate :blog do |blog|
  blog.name = "cases"
  blog.prefix = "cases"

  blog.custom_collections = { category: {
      link: '/{category}.html',
      template: '/cases/category.html'
    }
  }

  blog.permalink = "{category}/{number}.html"
  blog.sources = "{category}/{number}.html"
  blog.layout = "case"
end

Using Middleman and Middleman-Blog versions 4.0.0.rc.1

alekseyg commented 9 years ago

Never mind. I just had a strange issue with pagination. Once I turned it off, I was able to see everything.