Hey all, I have a site and the taxonomy is something like this:
- Home (default)
- Stuff (category)
-Stuff 1 (page)
-Stuff 2 (page)
-Stuff 3 (page) - Other stuff (category)
…
The goal is to make it so that category pages display content typed into the editor, followed by a listing of sub pages.
My initial code looks something like this.
{% block body %}
<ul>
{% for p in self.children %}
<li><a href="{{p.url}}">{{ p.title }}</a></li>
{% endfor %}
</ul>
{% block content %}
{% endblock %}
{% endblock %}
That doesn’t seem to be doing what I want it to. I also tried page.children, category.children, @self.children, etc. etc. I can’t seem to get that to spit anything out onto the page at all.
Can someone shed some light on what’s happening here?
Thanks,