depth() == 1) { $baseSec = $page; if ( $page->isListed() && $baseSec->hasListedChildren() && $page->template() != 'blog' ) { $subnav = true; } }else if ($page->depth() == 2) { $baseSec = $page->parent(); if ( $page->isListed() && $baseSec->hasListedChildren() && $page->template() != 'blogarticle' ) { $subnav = true; } } ?>
title_image()->toFile()) : ?>