Create annotated Starterkit

This commit is contained in:
Sonja Broda
2019-07-28 15:07:33 +02:00
parent 40f095f5de
commit aada11ac43
29 changed files with 305 additions and 21 deletions

View File

@@ -1,9 +1,17 @@
<?php
/**
* Templates render the content of your pages.
* They contain the markup together with some control structures like loops or if-statements.
* This example templates only echos the field values from the content file and doesn't need any special logic from a controller.
* Snippets like the header, footer and intro contain markup used in multiple templates. They also help to keep templates clean.
* More about templates: https://getkirby.com/docs/guide/templates/basics
*/
?>
<?php snippet('header') ?>
<main>
<header class="intro">
<h1><?= $page->title() ?></h1>
</header>
<?php snippet('intro') ?>
<div class="layout">