diff --git a/site/config/config.php b/site/config/config.php index 17d1dc1..a2553bc 100644 --- a/site/config/config.php +++ b/site/config/config.php @@ -1,4 +1,5 @@ isHomePage() ) { $title = $site->title()->html(); }else if ($page->depth() == 2) { diff --git a/site/snippets/blog-htmlhead.php b/site/snippets/blog-htmlhead.php index e4b2a16..646bc07 100644 --- a/site/snippets/blog-htmlhead.php +++ b/site/snippets/blog-htmlhead.php @@ -5,8 +5,6 @@ // copyright: Jannik Beyerstedt | https://jannikbeyerstedt.de // license: http://www.gnu.org/licenses/gpl-3.0.txt GPLv3 License // ------------------------------------------- -header("Content-Security-Policy: default-src 'self'; style-src 'self' 'nonce-nRfqpuKWNuYyUAFPTr6WVNZk9' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; frame-src https://www.youtube-nocookie.com; script-src 'self' 'unsafe-eval' 'nonce-nRfqpuKWNuYyUAFPTr6WVNZk9' https://jannikb.aquila.uberspace.de/piwik/; img-src 'self' https://jannikb.aquila.uberspace.de/piwik/"); - if( $page->isHomePage() ) { $title = $site->title()->html(); }else if ($page->depth() == 2) {