los
This commit is contained in:
@@ -98,3 +98,4 @@ if (!isset($navAnchors) || !is_array($navAnchors)) {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
@@ -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');
|
||||||
|
|||||||
@@ -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 -->";
|
||||||
|
|||||||
Reference in New Issue
Block a user