Quantcast
Viewing all articles
Browse latest Browse all 11

Source theme collection filtering not working

I’m running into this issue same issue. It doesn’t seem like Source has been updated yet, which is crazy. Regardless, I’m not understanding the get filter. Am I matching what is set in the routes for the collection?

i.e.:

collections:
  /write-now/:
    permalink: /write-now/{slug}/
    template: index-writenow
    filter: primary_tag:write-now
  /:
    permalink: /{slug}/
    template: index-newsletter
    filter: primary_tag:-write-now

I’d replace the get call on index-writenow to read:

{{#get "posts" include="authors" limit="16" include="primary_tag:write-now"}}

I’m just getting an empty page. And, conversely, I cannot figure out how to filter out the write-now tag on the main index page. I’ve tried about a dozen get combinations and nothing seems to work.

Read full topic


Viewing all articles
Browse latest Browse all 11

Trending Articles