feat(head): add favicon support
This commit is contained in:
@@ -15,4 +15,10 @@
|
||||
{{ 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 -}}
|
||||
</head>
|
||||
Reference in New Issue
Block a user