Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Collections: why does @taxonomy not work?

Started by ian russell 8 years ago · 2 replies · 832 views
8 years ago

Hallo

Can you help figure out why @taxonomy does not work? The other collections do!

I have two pages: Test (a blog list) and Item (a blog item, category: turnip). @self.children finds Item but @taxonomy.category: turnip does not.

I am using the grav-skeleton-supra-site without modification.

Many thanks

Ian Russell

8 years ago

The devil is in the details. We'd have to see the frontmatter of the offending pages.

8 years ago

Thank you for your help Perlkonig.

I am avoiding the frontmatter muddle by entering '@taxonomy:category': turnip in the Items field on the BlogList tab.

To elaborate, using taxonomy to select pages can be confusing before you have worked out how to do it!

Sometimes my selectors in the front matter and the options tab were out of step. When there is a problem I start with one and check the other.

Ian

Ian Russell

last edited 07/11/18 by ian russell

Suggested topics

Topic Participants Replies Views Activity
Support · by TomW, 2 weeks ago
8 227 9 hours ago
Support · by alex, 2 months ago
8 667 23 hours ago
Support · by Supple, 5 days ago
1 98 1 day ago
Support · by TomW, 1 week ago
3 159 3 days ago
Support · by TomW, 6 days ago
2 106 5 days ago