My problem was that all the content is usually hidden away in sections, so without recursion, nothing shows up. So, implement the recursion then.
This does not quite work yet, and I have no idea why.