Merge pull request #63 from xuhdev/favicon

Add "sizes" attribute to favicon.ico
This commit is contained in:
BLZR
2024-04-10 07:04:59 +05:30
committed by GitHub

View File

@ -7,7 +7,7 @@
<link rel="author" href="{{"humans.txt" | relURL}}">
<link rel="apple-touch-icon" sizes="180x180" href="{{"apple-touch-icon.png" | relURL}}">
{{- if (fileExists "static/favicon.ico") -}}
<link rel="icon" href="{{"favicon.ico" | relURL}}" type="image/x-icon">
<link rel="icon" href="{{"favicon.ico" | relURL}}" type="image/x-icon" sizes="48x48">
{{- end -}}
{{ $favicon := "images/favicon.svg" }}
{{- if (fileExists (printf "assets/%s" $favicon)) -}}