diff --git a/robots.txt b/robots.txt new file mode 100644 index 0000000..f1c2773 --- /dev/null +++ b/robots.txt @@ -0,0 +1,23 @@ +User-agent: * +Allow: / + +# Spezielle Erlaubnis für DSGVO/Legal Scanner +User-agent: LegalCockpitBot +Allow: / + +User-agent: CookieBot +Allow: / + +User-agent: DataProtectionBot +Allow: / + +User-agent: GDPRBot +Allow: / + +# Sitemap (falls vorhanden) +# Sitemap: https://www.schachfreunde-badsteben.de/sitemap.xml + +# Wichtige Seiten explizit erlauben +Allow: /datenschutz +Allow: /impressum +Allow: /kontakt \ No newline at end of file diff --git a/site/config/config.php b/site/config/config.php index ab6e282..6add258 100644 --- a/site/config/config.php +++ b/site/config/config.php @@ -6,5 +6,24 @@ return [ 'vue' => [ 'compiler' => false ] - ], + ], + + // Bessere Scanner-Kompatibilität + 'cache' => [ + 'pages' => [ + 'active' => true + ] + ], + + // Headers für bessere Scanner-Kompatibilität + 'headers' => [ + 'X-Frame-Options' => 'SAMEORIGIN', + 'X-XSS-Protection' => '1; mode=block' + ], + + // Robots-freundliche Einstellungen + 'smartypants' => true, + 'markdown' => [ + 'extra' => true + ] ]; diff --git a/site/snippets/layout.php b/site/snippets/layout.php index a5f599b..c3fb347 100644 --- a/site/snippets/layout.php +++ b/site/snippets/layout.php @@ -10,6 +10,16 @@ + + + + + + + + + + <?= $site->title()->esc() ?> | <?= $page->title()->esc() ?>