mirror of
https://github.com/ascribe/wp-theme
synced 2024-12-22 09:13:38 +01:00
27 lines
656 B
PHP
27 lines
656 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>
|