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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

Collections: why does @taxonomy not work?

Started by ian russell 8 years ago · 2 replies · 555 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 Thomas, 1 week ago
2 53 10 hours ago
Support · by Anna, 3 days ago
2 60 13 hours ago
Support · by Justin Young, 14 hours ago
1 30 14 hours ago
Support · by Duc , 1 week ago
2 65 5 days ago
Support · by Colin Hume, 1 week ago
2 56 5 days ago