Replace favicon

This commit is contained in:
danpros 2024-03-14 12:27:14 +07:00
commit 73eca4eed6
3 changed files with 1 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

BIN
favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

@ -3423,7 +3423,7 @@ function head_contents()
$version = 'HTMLy ' . constant('HTMLY_VERSION');
$favicon = config('favicon.image');
if (empty($favicon)) {
$favicon = '<link rel="icon" type="image/x-icon" href="' . site_url() . 'favicon.ico" />' . "\n";
$favicon = '<link rel="icon" type="image/png" href="' . site_url() . 'favicon.png" />' . "\n";
} else {
$favicon = '<link rel="icon" type="image/'. pathinfo($favicon, PATHINFO_EXTENSION) .'" href="' . $favicon . '" />' . "\n";
}