diff --git a/site/snippets/footer.php b/site/snippets/footer.php index 8f67ccd..e68cf97 100644 --- a/site/snippets/footer.php +++ b/site/snippets/footer.php @@ -1,143 +1,125 @@ - + +
+ + + +
- - - - - - + + +
diff --git a/site/snippets/header.php b/site/snippets/header.php deleted file mode 100644 index 9cf7732..0000000 --- a/site/snippets/header.php +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - - - - - <?= $site->title()->esc() ?> | <?= $page->title()->esc() ?> - - - - - - - - - diff --git a/site/snippets/layout.php b/site/snippets/layout.php new file mode 100644 index 0000000..0a8b2bb --- /dev/null +++ b/site/snippets/layout.php @@ -0,0 +1,45 @@ + + + + + + + <?= $site->title()->esc() ?> | <?= $page->title()->esc() ?> + + + + + + + +
+ +
+ +
+ + isHomePage()): ?> + + + + heroText()->isNotEmpty()): ?> + + + +
+
+ +
+
+
+ + + + + diff --git a/site/snippets/navbar.php b/site/snippets/navbar.php index 940411a..68b074f 100644 --- a/site/snippets/navbar.php +++ b/site/snippets/navbar.php @@ -1,7 +1,4 @@ -
diff --git a/site/templates/default.php b/site/templates/default.php index 2848773..0138af5 100644 --- a/site/templates/default.php +++ b/site/templates/default.php @@ -1,36 +1,5 @@ - - They contain the markup together with some control structures - like loops or if-statements. The `$page` variable always - refers to the currently active page. +

Hallo Welt!

- To fetch the content from each field we call the field name as a - method on the `$page` object, e.g. `$page->title()`. - - This default template must not be removed. It is used whenever Kirby - cannot find a template with the name of the content file. - - Snippets like the header and footer contain markup used in - multiple templates. They also help to keep templates clean. - - More about templates: https://getkirby.com/docs/guide/templates/basics -*/ - -?> - - - - - - - - - - - - + \ No newline at end of file diff --git a/site/templates/dwz.php b/site/templates/dwz.php index ecb90f9..2649061 100644 --- a/site/templates/dwz.php +++ b/site/templates/dwz.php @@ -1,39 +1,5 @@ - - They contain the markup together with some control structures - like loops or if-statements. The `$page` variable always - refers to the currently active page. + - To fetch the content from each field we call the field name as a - method on the `$page` object, e.g. `$page->title()`. - - This default template must not be removed. It is used whenever Kirby - cannot find a template with the name of the content file. - - Snippets like the header and footer contain markup used in - multiple templates. They also help to keep templates clean. - - More about templates: https://getkirby.com/docs/guide/templates/basics -*/ - -?> - - - - - - - - - - - - - + \ No newline at end of file diff --git a/site/templates/home.php b/site/templates/home.php deleted file mode 100644 index bc0d6e1..0000000 --- a/site/templates/home.php +++ /dev/null @@ -1,36 +0,0 @@ -title()`. - - This default template must not be removed. It is used whenever Kirby - cannot find a template with the name of the content file. - - Snippets like the header and footer contain markup used in - multiple templates. They also help to keep templates clean. - - More about templates: https://getkirby.com/docs/guide/templates/basics -*/ - -?> - - - - - - - - - - - diff --git a/site/templates/impressum.php b/site/templates/impressum.php index 65eb2d8..d58abac 100644 --- a/site/templates/impressum.php +++ b/site/templates/impressum.php @@ -1,30 +1,4 @@ -title()`. - - This default template must not be removed. It is used whenever Kirby - cannot find a template with the name of the content file. - - Snippets like the header and footer contain markup used in - multiple templates. They also help to keep templates clean. - - More about templates: https://getkirby.com/docs/guide/templates/basics -*/ - -?> - - - - +
@@ -53,8 +27,4 @@ snippet('navbar') ?>
- - - - + diff --git a/site/templates/satzung.php b/site/templates/satzung.php index 46df701..c24b8ec 100644 --- a/site/templates/satzung.php +++ b/site/templates/satzung.php @@ -1,32 +1,6 @@ - - They contain the markup together with some control structures - like loops or if-statements. The `$page` variable always - refers to the currently active page. - - To fetch the content from each field we call the field name as a - method on the `$page` object, e.g. `$page->title()`. - - This default template must not be removed. It is used whenever Kirby - cannot find a template with the name of the content file. - - Snippets like the header and footer contain markup used in - multiple templates. They also help to keep templates clean. - - More about templates: https://getkirby.com/docs/guide/templates/basics -*/ - -?> - - - - - -
+

Vereinssatzung der „Schachfreunde Bad Steben“

@@ -156,8 +130,4 @@ snippet('navbar') ?>
- - - - + \ No newline at end of file diff --git a/site/templates/termine.php b/site/templates/termine.php index 786a112..54d4074 100644 --- a/site/templates/termine.php +++ b/site/templates/termine.php @@ -1,39 +1,6 @@ - - They contain the markup together with some control structures - like loops or if-statements. The `$page` variable always - refers to the currently active page. + + - To fetch the content from each field we call the field name as a - method on the `$page` object, e.g. `$page->title()`. - - This default template must not be removed. It is used whenever Kirby - cannot find a template with the name of the content file. - - Snippets like the header and footer contain markup used in - multiple templates. They also help to keep templates clean. - - More about templates: https://getkirby.com/docs/guide/templates/basics -*/ - -?> - - - - - - - - - - - - - + \ No newline at end of file