Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

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

Started by ian russell 8 years ago · 1 replies · 744 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 TomW, 2 weeks ago
8 227 9 hours ago
Support · by alex, 2 months ago
8 667 23 hours ago
Support · by Supple, 5 days ago
1 98 1 day ago
Support · by TomW, 1 week ago
3 159 3 days ago
Support · by TomW, 6 days ago
2 106 5 days ago