Add rel="apple-touch-icon"

Add rel="apple-touch-icon" to use favicon as desktop icon for iOS devices
This commit is contained in:
Rei 2022-04-20 14:11:47 +08:00 committed by GitHub
parent c1fcec95a6
commit 8e55c3e1be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,8 @@
{{- end -}}
{{ with .Site.Params.favicon }}
<link rel="shortcut icon" href="{{ . }}" />
<link rel="shortcut icon" href="{{ . }}" >
<link rel="apple-touch-icon" href="{{ . }}"/>
{{ end }}
{{- template "_internal/google_analytics.html" . -}}