Skip to content
Grav 2.0 is officially stable. Read the announcement →
Support

Collections: why does @taxonomy not work?

Started by ian russell 8 years ago · 2 replies · 643 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 Paul Hodges, 4 weeks ago
19 484 5 days ago
Support · by Lauw, 7 days ago
2 99 7 days ago
Support · by Anna, 3 weeks ago
4 426 1 week ago
Support · by gtx, 4 weeks ago
4 377 3 weeks ago
Support · by Anna, 1 month ago
9 484 3 weeks ago