Using a taxonomy + page.children collection

This should get all the pages tagged “featured” in the /directory folder, correct? I’m trying to get all the pages marked as featured in the /directory folder.

    items:
        -
            '@page.children': /directory
        -
            '@taxonomy':
                category: [featured]

Reading some more, and have discovered that the markup will make the sum of the two entries.

I’ve added the “listing” tag to all the pages in /directory (along with the previous pages tagged as “featured”) and am trying to use the following but it isn’t working either:

content:
    items:
        '@taxonomoy.tag': [featured, listing]
content:
    items:
        '@taxonomy':
            tag:
                - featured
                - listing

This appears to work.
1 Like