Just a quick query - would it be possible to add a sort? or at least respect the sort in the supplied collection?
I have a huge list of back-catalogue of articles tagged as reviews, which start in 1996 - and are only really there for my benefit. The the reviews collection looks like this:
reviews: ->
@getCollection('documents').findAllLive({relativeOutDirPath: 'posts', tags: $in: 'Reviews' }, [{date: -1}])
and the options for the tag
plugins:
# Tags
tags:
extension: '.html.eco'
injectDocumentHelper: (document) ->
document.setMeta(
layout: 'default'
data: """
<%- @partial('tag', @) %>
"""
)
Am I missing something?
Just a quick query - would it be possible to add a sort? or at least respect the sort in the supplied collection?
I have a huge list of back-catalogue of articles tagged as reviews, which start in 1996 - and are only really there for my benefit. The the reviews collection looks like this:
and the options for the tag
Am I missing something?