This commit is contained in:
2025-11-20 22:41:57 +01:00
parent ef53f5ddcc
commit 821b5ac581
3 changed files with 3 additions and 2 deletions

View File

@@ -98,3 +98,4 @@ if (!isset($navAnchors) || !is_array($navAnchors)) {
</div> </div>
</div> </div>
</header> </header>

View File

@@ -24,7 +24,7 @@ $navAnchors = [
tpl('layout_start'); // structure/header.php tpl('layout_start'); // structure/header.php
tpl('hero', 'landing', 'main'); echo tpl('hero', 'landing', 'main');
tpl('how', 'landing', 'main'); tpl('how', 'landing', 'main');
tpl('problem', 'landing', 'main'); echo "ende"; tpl('problem', 'landing', 'main'); echo "ende";
tpl('features', 'landing', 'main'); tpl('features', 'landing', 'main');

View File

@@ -37,7 +37,7 @@ function tpl(string $file, string $type = 'structure', string $site = 'main'): v
// Datei laden // Datei laden
if (file_exists($path)) { if (file_exists($path)) {
echo include $path; include $path;
} else { } else {
echo "<!-- tpl(): Datei nicht gefunden: $path -->"; echo "<!-- tpl(): Datei nicht gefunden: $path -->";