Concrete5 Single Page Theme

Permalink
I'm trying to implement a Concrete5 Theme that loads all subpages into the main (index) page. So far, I'm, just looping through my child pages array, grabbing the type,context (areas, etc), and then loading an element with the page template markup for each page. Unfortunately, this is highly error prone, and there must be another way?

theneptune