We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29ee7f5 commit f24f1feCopy full SHA for f24f1fe
layouts/partials/head.html
@@ -13,7 +13,7 @@
13
<!-- Site Generator -->
14
<meta name="generator" content="Hugo {{ .Hugo.Version }}" />
15
<!--Setting Favicon-->
16
-<link rel="shortcut icon" href="{{- $.Site.BaseURL -}}{{- if .Site.Params.favicon -}}{{- .Site.Params.favicon -}}{{- else -}}img/defaultFav.ico{{- end -}}">
+<link rel="shortcut icon" href="{{ if .Site.Params.favicon }}{{ .Site.Params.favicon }}{{- else -}}/img/defaultFav.ico{{ end }}">
17
<!-- Permalink & RSSlink -->
18
<link rel="canonical" href="{{- .Permalink -}}" />
19
<link rel="alternative" href="{{- "/index.xml" | relURL -}}" title="{{ .Site.Title }}" type="application/atom+xml"/>
0 commit comments