Always include link tag for favicon.ico if there
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
<link href="{{ relLangURL `favicon-32x32.png` | safeURL }}" rel="icon" sizes="32x32" type="image/png">
|
<link href="{{ relLangURL `favicon-32x32.png` | safeURL }}" rel="icon" sizes="32x32" type="image/png">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if ne (relLangURL "favicon.ico") "/favicon.ico" }}
|
{{ if fileExists "favicon.ico" }}
|
||||||
<link href="{{ relLangURL `favicon.ico` | safeURL }}" rel="shortcut icon">
|
<link href="{{ relLangURL `favicon.ico` | safeURL }}" rel="shortcut icon">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user