mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-25 12:01:37 +01:00
head: support favicon custom path
usage => params: assets: favicon: '<path / external url>' closes #14
This commit is contained in:
parent
d8199140e5
commit
8cab9c9de5
@ -39,7 +39,7 @@
|
|||||||
{{- end -}}
|
{{- end -}}
|
||||||
<!-- Favicons -->
|
<!-- Favicons -->
|
||||||
<link rel="apple-touch-icon" href="{{ "apple-touch-icon.png" | absURL }}">
|
<link rel="apple-touch-icon" href="{{ "apple-touch-icon.png" | absURL }}">
|
||||||
<link rel="icon" href="{{ "favicon.ico" | absURL }}">
|
<link rel="icon" href="{{ .Site.Params.assets.favicon | default "favicon.ico" | absURL }}">
|
||||||
<!-- Generator -->
|
<!-- Generator -->
|
||||||
{{- hugo.Generator }}
|
{{- hugo.Generator }}
|
||||||
<!-- RSS -->
|
<!-- RSS -->
|
||||||
|
Loading…
Reference in New Issue
Block a user