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

Collections - @taxonomy.category not working but @self.children is ok?

Started by ian russell 8 years ago · 1 replies · 668 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 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