mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +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