I want to create a collection of all pages from a given directory but with an additional criterion which is a specific value in the taxonomy.
I followed the example of Complex Collections from the documentation but I have a problem with it.
I have this structure:
/services/brakes/offer.md
Contents of the offer.md file:
---
title: Brakes
taxonomy:
branch: ['Las Vegas', 'Montreal']
---
I also have:
/branches/new-york/section.md
Contents of the section.md file:
---
title: New York
content:
items:
- '@page.children': '/services'
- '@taxonomy':
branch: ['New York']
---
And it shows me Brakes...