1
0
mirror of https://github.com/ascribe/wp-theme synced 2024-12-22 09:13:38 +01:00
wp-theme/content-main.php

25 lines
654 B
PHP

<?php $controller = new Controller(); ?>
<main class="main above-chevron">
<?php if ( is_page('faq') ) { ?>
<div class="subtemplate row subtemplate--faq">
<h1 class="page-title"><?php the_title(); ?></h1>
<div class="grid grid--gutters grid--full grid-small--fit">
<div class="grid__col grid__col--toc">
<div id="toc"></div>
</div>
<div class="grid__col">
<?php echo $controller->loopSubtemplates(); ?>
</div>
</div>
<?php } else {
echo $controller->loopSubtemplates();
} ?>
</main>