Add "sizes" attribute to favicon.ico
Otherwise the svg icon won't load. See 020fcc1b9f
This commit is contained in:
@ -7,7 +7,7 @@
|
|||||||
<link rel="author" href="{{"humans.txt" | relURL}}">
|
<link rel="author" href="{{"humans.txt" | relURL}}">
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="{{"apple-touch-icon.png" | relURL}}">
|
<link rel="apple-touch-icon" sizes="180x180" href="{{"apple-touch-icon.png" | relURL}}">
|
||||||
{{- if (fileExists "static/favicon.ico") -}}
|
{{- 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 -}}
|
{{- end -}}
|
||||||
{{ $favicon := "images/favicon.svg" }}
|
{{ $favicon := "images/favicon.svg" }}
|
||||||
{{- if (fileExists (printf "assets/%s" $favicon)) -}}
|
{{- if (fileExists (printf "assets/%s" $favicon)) -}}
|
||||||
|
Reference in New Issue
Block a user