diff --git a/site/snippets/base/html-head.php b/site/snippets/base/html-head.php index 2c02ddf..607f0aa 100644 --- a/site/snippets/base/html-head.php +++ b/site/snippets/base/html-head.php @@ -37,9 +37,9 @@ if( $page->isHomePage() ) { - + - + diff --git a/site/snippets/blog-htmlhead.php b/site/snippets/blog-htmlhead.php index 70a4e04..623dc2f 100644 --- a/site/snippets/blog-htmlhead.php +++ b/site/snippets/blog-htmlhead.php @@ -5,6 +5,7 @@ // 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' 'nonce-nRfqpuKWNuYyUAFPTr6WVNZk9' https://jannikb.aquila.uberspace.de/piwik/; img-src 'self' https://jannikb.aquila.uberspace.de/piwik/"); if( $page->isHomePage() ) { $title = $site->title()->html(); @@ -36,5 +37,20 @@ if( $page->isHomePage() ) { + + + + + + + + + + + + + + +