Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

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

Started by ian russell 8 years ago · 1 replies · 636 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 complanar, 6 days ago
6 137 12 hours ago
Support · by Rick Beebe, 6 days ago
2 99 2 days ago
Support · by blu3prince, 3 days ago
0 50 3 days ago
Support · by alex, 4 days ago
2 91 3 days ago
Support · by Marcel, 2 weeks ago
1 142 3 days ago