The latest in my how do I.. on the new theme.
I'm making use of the subcategories thus only displaying the parents on the home.
I wanted to add a toggle to display a div containing the categories.children members and managed to do so but didn't find a clean way to do it.
<!-- IF categories.children --> and <!-- IF children --> didn't seem to do the trick. Is there an exists? or the like construct?
So I ended up doing
<!-- BEGIN children -->
<!-- IF @first -->
This works but it's obviously inelegant at best.
The other thing that seems to fail as a result, and I'm not certain why but it may be just another bag of bad assumptions, is the actual child div contents.
As a shortcut I pulled the included partial from the categories page for the category children and used it. It.. kind of works.. But, well, look for yourself. The same partial works fine on the categories page.
You can see it's iterating through (the correct number ) of children, but for some reason it's not substituting the values it should.