This fixes sites which have the baseURL in a subdirectory. Co-authored-by: Nick White <git@njw.name>tags/2.6.0
@@ -1,3 +1,3 @@ | |||
{{ if .Site.Params.favicon }} | |||
<link rel="shortcut icon" href="/{{ .Site.Params.favicon }}" type="image/x-icon" /> | |||
{{ end }} | |||
<link rel="shortcut icon" href="{{ relURL ($.Site.Params.favicon) }}" type="image/x-icon" /> | |||
{{ end }} |