chore: reformat and clean up PHP templates, snippets, and configurations

Standardized code formatting across multiple files for improved readability and consistency.
This commit is contained in:
2025-06-29 10:59:56 +02:00
parent f36f69082d
commit 2bf81134c7
12 changed files with 523 additions and 348 deletions
+21 -17
View File
@@ -1,32 +1,36 @@
<?php
/*
Templates render the content of your pages.
/*
Templates render the content of your pages.
They contain the markup together with some control structures
like loops or if-statements. The `$page` variable always
refers to the currently active page.
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()`.
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.
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.
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
*/
More about templates: https://getkirby.com/docs/guide/templates/basics
*/
?>
<?php snippet('header') ?>
<?php
snippet('header') ?>
<body class="font-sans antialiased bg-sf_grau-400 text-gray-900">
<?php snippet('navbar') ?>
<?php
snippet('navbar') ?>
<?php snippet('hero') ?>
<?php
snippet('hero') ?>
<?= js('assets/js/navbar.js') ?>
</body>
<?php snippet('footer') ?>
<?php
snippet('footer') ?>