Custom filter to manually filter a collection by taxonomy slug
- Copy over the files into the
site
folder.
If you're on a taxonomy uri, call the filter and pass in the entry field
for the taxonomy:
{{ collection filter="taxonomy_slug" field="tags" }}
...
{{ /collection }}
On any other URI, pass in the taxonomy slug you need as well:
{{ collection:blog filter="taxonomy_slug" slug="coffee" field="tags" }}
...
{{ /collection }}