refactor(head): remove favicon output

It's better to use favicon generator tools, and paste HTML in head/custom.html
This commit is contained in:
Jimmy Cai
2020-09-11 21:59:05 +02:00
parent 3aabc8e61c
commit b64cbe1ef8
2 changed files with 1 additions and 8 deletions
+1 -7
View File
@@ -13,12 +13,6 @@
{{- range .AlternativeOutputFormats -}}
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}">
{{- end -}}
{{- if .Site.Params.favicon -}}
{{- $logo := resources.Get .Site.Params.favicon -}}
{{- $favicon := $logo.Resize "32x" -}}
<link rel="icon" type="image/png" href="{{ $favicon.RelPermalink }}" />
{{- end -}}
{{- partial "head/custom.html" . -}}
</head>