fix favicon on iOS Safari not working

pull/2/head
Septs 2022-12-03 10:12:16 +08:00
parent b1bc950cd3
commit 452a9dd8fa
No known key found for this signature in database
GPG Key ID: 65144037AFA516E1
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
{{- range slice 192 96 32 16 }}
{{- $format := printf "%[1]dx%[1]d" . }}
{{- with $image.Resize $format }}
<link rel="icon" href="{{ .Permalink }}">
<link rel="icon" sizes="{{ $format }}" href="{{ .Permalink }}">
{{- end }}
{{- end }}
<link rel="icon" href="{{ $image.Permalink }}">