mirror of
https://github.com/danpros/htmly.git
synced 2026-04-17 03:05:58 +05:30
Replace favicon
This commit is contained in:
parent
ed0c0ba2f1
commit
73eca4eed6
3 changed files with 1 additions and 1 deletions
BIN
favicon.ico
BIN
favicon.ico
Binary file not shown.
|
Before Width: | Height: | Size: 1.1 KiB |
BIN
favicon.png
Normal file
BIN
favicon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
|
|
@ -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";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue