mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2024-11-23 18:31:45 +01:00
feat(head): add favicon setting in config.yaml (#73)
closes https://github.com/CaiJimmy/hugo-theme-stack/issues/42
This commit is contained in:
parent
25a72940b8
commit
ddd6aa2d20
2 changed files with 5 additions and 0 deletions
|
@ -20,6 +20,7 @@ params:
|
|||
- post
|
||||
featuredImageField: image
|
||||
rssFullContent: true
|
||||
favicon:
|
||||
|
||||
dateFormat:
|
||||
published: Jan 02, 2006
|
||||
|
|
|
@ -17,4 +17,8 @@
|
|||
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}">
|
||||
{{- end -}}
|
||||
|
||||
{{ with .Site.Params.favicon }}
|
||||
<link rel="shortcut icon" href="{{ . }}" />
|
||||
{{ end }}
|
||||
|
||||
{{- partial "head/custom.html" . -}}
|
Loading…
Reference in a new issue