1
0
Fork 0

[FIX] blog htmlhead missed the favicon attributes

This commit is contained in:
Jannik Beyerstedt 2016-10-15 20:33:58 +02:00
parent efcbebba2a
commit 19637ebb2e
2 changed files with 18 additions and 2 deletions

View file

@ -5,6 +5,7 @@
// copyright: Jannik Beyerstedt | https://jannikbeyerstedt.de // copyright: Jannik Beyerstedt | https://jannikbeyerstedt.de
// license: http://www.gnu.org/licenses/gpl-3.0.txt GPLv3 License // 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() ) { if( $page->isHomePage() ) {
$title = $site->title()->html(); $title = $site->title()->html();
@ -36,5 +37,20 @@ if( $page->isHomePage() ) {
<!-- Google web fonts --> <!-- Google web fonts -->
<link href='https://fonts.googleapis.com/css?family=Alegreya+Sans:400,100,300,400italic,500,500italic,700' rel='stylesheet' type='text/css'> <link href='https://fonts.googleapis.com/css?family=Alegreya+Sans:400,100,300,400italic,500,500italic,700' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,700' rel='stylesheet' type='text/css'> <link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,700' rel='stylesheet' type='text/css'>
<link rel="apple-touch-icon" sizes="180x180" href="<?php echo url('/assets/favicons/apple-touch-icon-180x180.png')?>">
<link rel="mask-icon" href="<?php echo url('/assets/favicons/safari-pinned-tab.svg')?>" color="#5bbad5">
<link rel="icon" type="image/png" href="<?php echo url('/assets/favicons/favicon-32x32.png')?>" sizes="32x32">
<link rel="icon" type="image/png" href="<?php echo url('/assets/favicons/favicon-194x194.png')?>" sizes="194x194">
<link rel="icon" type="image/png" href="<?php echo url('/assets/favicons/favicon-96x96.png')?>" sizes="96x96">
<link rel="icon" type="image/png" href="<?php echo url('/assets/favicons/android-chrome-192x192.png')?>" sizes="192x192">
<link rel="icon" type="image/png" href="<?php echo url('/assets/favicons/favicon-16x16.png')?>" sizes="16x16">
<link rel="manifest" href="<?php echo url('/assets/favicons/manifest.json')?>">
<link rel="icon" type="image/x-icon" href="<?php echo url('/assets/favicons/favicon.ico')?>">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-TileImage" content="<?php echo url('/assets/favicons/mstile-144x144.png')?>">
<meta name="msapplication-config" content="<?php echo url('/assets/favicons/browserconfig.xml')?>">
<meta name="theme-color" content="#ffffff">
</head> </head>
<body> <body>