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:
parent
3aabc8e61c
commit
b64cbe1ef8
@ -12,7 +12,6 @@ DefaultContentLanguage = "en" # Theme i18n support
|
|||||||
|
|
||||||
[params]
|
[params]
|
||||||
mainSections = ["post"]
|
mainSections = ["post"]
|
||||||
favicon = ""
|
|
||||||
featuredImageField = "image"
|
featuredImageField = "image"
|
||||||
[params.dateFormat]
|
[params.dateFormat]
|
||||||
published = "Jan 02, 2006"
|
published = "Jan 02, 2006"
|
||||||
|
@ -13,12 +13,6 @@
|
|||||||
{{- range .AlternativeOutputFormats -}}
|
{{- range .AlternativeOutputFormats -}}
|
||||||
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}">
|
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}">
|
||||||
{{- end -}}
|
{{- 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" . -}}
|
{{- partial "head/custom.html" . -}}
|
||||||
</head>
|
</head>
|
Loading…
Reference in New Issue
Block a user