Initial public commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<?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') ?>
|
||||
Reference in New Issue
Block a user