'; echo '
'; echo '
'; echo '
'; if(PARENT_PAGES_LINK) { echo '

'.$Parent->title().'

'; } else { echo '

'.$Parent->title().'

'; } // Check if the parent has children if( isset( $pagesParents[ $Parent->key() ] ) ) { // Get the children of the parent $children = $pagesParents[ $Parent->key() ]; echo '
    '; // Foreach child foreach( $children as $Child ) { if( $Child->published() ) { echo '
  • '.$Child->title().'

  • '; } } echo '
'; } echo '
'; echo '
'; echo '
'; echo ''; } echo '
'; foreach($posts as $Post) { echo '
'; echo '
'; echo '
'; echo '
'; echo '

'.$Post->title().'

'; echo '

Posted on '.$Post->date().'

'; echo '
'; echo '
'; echo '
'; echo '
'; } ?>