Skip to content

Commit

Permalink
addHeadLink
Browse files Browse the repository at this point in the history
  • Loading branch information
C-Lodder committed Feb 4, 2021
1 parent fcce657 commit 263feac
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,12 @@
$this->setMetaData('msapplication-config', $faviconPath . '/browserconfig.xml');
$this->setMetaData('msapplication-TileColor', '#ffffff');

$this->addCustomTag('<link rel="apple-touch-icon" sizes="180x180" href="' . $faviconPath . '/apple-touch-icon.png">');
$this->addCustomTag('<link rel="icon" type="image/png" sizes="32x32" href="' . $faviconPath . '/favicon-32x32.png">');
$this->addCustomTag('<link rel="icon" type="image/png" sizes="16x16" href="' . $faviconPath . '/favicon-16x16.png">');
$this->addCustomTag('<link rel="manifest" href="' . $faviconPath . '/site.webmanifest">');
$this->addCustomTag('<link rel="mask-icon" href="' . $faviconPath . '/safari-pinned-tab.svg" color="#5bbad5">');
$this->addCustomTag('<link rel="shortcut icon" href="' . $faviconPath . '/favicon.ico">');
$this->addHeadLink($faviconPath . '/apple-touch-icon.png', 'apple-touch-icon', 'rel', ['sizes' => '180x180']);
$this->addHeadLink($faviconPath . '/favicon-32x32.png', 'icon', 'rel', ['sizes' => '32x32']);
$this->addHeadLink($faviconPath . '/favicon-16x16.png', 'icon', 'rel', ['sizes' => '16x16']);
$this->addHeadLink($faviconPath . '/site.webmanifest.json', 'manifest');
$this->addHeadLink($faviconPath . '/safari-pinned-tab.svg', 'mask-icon', 'rel', ['color' => '#006bd6']);
$this->addHeadLink($faviconPath . '/favicon.ico', 'shortcut icon');

$menu = $this->getBuffer('modules', 'menu', $attribs = ['style' => 'none']);
$search = $this->getBuffer('modules', 'search', $attribs = ['style' => 'none']);
Expand Down

0 comments on commit 263feac

Please sign in to comment.