Closed bhinebaugh closed 9 years ago
I'm sorry, but I won't be able to fix this for you. This relies on Jekyll's tag/category system which apparently only applies to posts. If Jekyll adds support for tagging or categorizing collections, this should work properly.
It can't be done properly, for the reasons lmathis already indicated, however as I needed to filter collections on tags I implemented a (slightly hacky) way of faking it. Please see this pull request for details: https://github.com/octopress/paginate/pull/13
Specifying both a collection and tag / category to use for filtering it in the front matter:
results in an undefined method error for
Jekyll::Document
So looks like tags assigned to collection items aren't accessible in the same way as tags assigned to posts? (happening in the reject loop of
def collection(page)
)