Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Collections: why does @taxonomy not work?

Started by ian russell 8 years ago · 2 replies · 728 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 webmasterodp, 1 week ago
4 157 6 days ago
Support · by nwhitfield, 1 week ago
2 136 1 week ago
Support · by stell, 3 weeks ago
5 369 2 weeks ago
Support · by gravinator, 1 month ago
5 559 2 weeks ago
Support · by Gravver, 3 weeks ago
6 347 3 weeks ago