mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-04-21 06:02:46 +00:00
Use relative URL for favicon (#251)
This fixes sites which have the baseURL in a subdirectory. Co-authored-by: Nick White <git@njw.name>
This commit is contained in:
parent
cfbd40cd86
commit
4cf0842964
@ -1,3 +1,3 @@
|
||||
{{ if .Site.Params.favicon }}
|
||||
<link rel="shortcut icon" href="/{{ .Site.Params.favicon }}" type="image/x-icon" />
|
||||
<link rel="shortcut icon" href="{{ relURL ($.Site.Params.favicon) }}" type="image/x-icon" />
|
||||
{{ end }}
|
Loading…
x
Reference in New Issue
Block a user