Always include link tag for favicon.ico if there

This commit is contained in:
Will Faught
2023-03-22 22:49:53 -07:00
parent baf468a976
commit 5bd68cca61

View File

@@ -12,7 +12,7 @@
<link href="{{ relLangURL `favicon-32x32.png` | safeURL }}" rel="icon" sizes="32x32" type="image/png">
{{ end }}
{{ if ne (relLangURL "favicon.ico") "/favicon.ico" }}
{{ if fileExists "favicon.ico" }}
<link href="{{ relLangURL `favicon.ico` | safeURL }}" rel="shortcut icon">
{{ end }}