los
This commit is contained in:
@@ -98,3 +98,4 @@ if (!isset($navAnchors) || !is_array($navAnchors)) {
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
@@ -24,7 +24,7 @@ $navAnchors = [
|
||||
|
||||
tpl('layout_start'); // structure/header.php
|
||||
|
||||
tpl('hero', 'landing', 'main');
|
||||
echo tpl('hero', 'landing', 'main');
|
||||
tpl('how', 'landing', 'main');
|
||||
tpl('problem', 'landing', 'main'); echo "ende";
|
||||
tpl('features', 'landing', 'main');
|
||||
|
||||
@@ -37,7 +37,7 @@ function tpl(string $file, string $type = 'structure', string $site = 'main'): v
|
||||
|
||||
// Datei laden
|
||||
if (file_exists($path)) {
|
||||
echo include $path;
|
||||
include $path;
|
||||
|
||||
} else {
|
||||
echo "<!-- tpl(): Datei nicht gefunden: $path -->";
|
||||
|
||||
Reference in New Issue
Block a user