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 - @taxonomy.category not working but @self.children is ok?

Started by ian russell 8 years ago · 1 replies · 535 views
8 years ago

Hello

Help please.

I need to use the @taxonomy method to display some items. It ran off the bat this morning and then mysteriously disappeared.

To test I set up a page with a child page, category:turnip. @self.children displays the child but '@taxonomy.category':turnip does not.

I have tried the formatting methods in the documentation.

Any ideas?

Ian

8 years ago

Hello again

It seems the problem was some type of conflict between the Items selector in the Blog List page and content: in the front matter.

My solution is to put ‘@taxonomy.category’:turnip in the Blog List and let Grav generate the front matter.

Suggested topics

Topic Participants Replies Views Activity
Support · by Thomas, 1 week ago
2 57 15 hours ago
Support · by Anna, 3 days ago
2 65 18 hours ago
Support · by Justin Young, 19 hours ago
1 33 18 hours ago
Support · by Duc , 1 week ago
2 68 5 days ago
Support · by Colin Hume, 1 week ago
2 60 6 days ago