You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
317 B
PHTML
14 lines
317 B
PHTML
8 years ago
|
<?php
|
||
|
|
||
|
// Determine snippet name and fall back to default if it does not exist
|
||
|
$snippet = 'templates/' . $page->intendedTemplate();
|
||
|
if(!$kirby->get('snippet', $snippet)) $snippet = 'templates/default';
|
||
|
?>
|
||
|
<?php snippet('header') ?>
|
||
|
|
||
|
<main class="main">
|
||
|
<?php snippet($snippet) ?>
|
||
|
</main>
|
||
|
|
||
|
<?php snippet('footer') ?>
|