diff --git a/public/index.php b/public/index.php index 70b6225..e397bed 100644 --- a/public/index.php +++ b/public/index.php @@ -23,10 +23,10 @@ tpl('layout_start'); // structure/header.php tpl('hero', 'landing', 'main'); tpl('how', 'landing', 'main'); - tpl('problem', 'landing', 'main'); - tpl('features', 'landing', 'main'); - tpl('security', 'landing', 'main'); - tpl('faq', 'landing', 'main'); +tpl('problem', 'landing', 'main'); echo "ende"; +tpl('features', 'landing', 'main'); +tpl('security', 'landing', 'main'); +tpl('faq', 'landing', 'main'); tpl('layout_end'); // structure/footer.php diff --git a/src/functions.php b/src/functions.php index 9664f40..537aa9f 100644 --- a/src/functions.php +++ b/src/functions.php @@ -38,6 +38,7 @@ function tpl(string $file, string $type = 'structure', string $site = 'main'): v // Datei laden if (file_exists($path)) { echo include $path; + echo $path; } else { echo ""; }