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

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

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