Skip to content

Commit f24f1fe

Browse files
committed
Favicon path
Former-commit-id: c823e1a [formerly a066d06] Former-commit-id: 88f8d8aaac1903d1b9f8182e1facdd28042352c1 Former-commit-id: 1165a49
1 parent 29ee7f5 commit f24f1fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/partials/head.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<!-- Site Generator -->
1414
<meta name="generator" content="Hugo {{ .Hugo.Version }}" />
1515
<!--Setting Favicon-->
16-
<link rel="shortcut icon" href="{{- $.Site.BaseURL -}}{{- if .Site.Params.favicon -}}{{- .Site.Params.favicon -}}{{- else -}}img/defaultFav.ico{{- end -}}">
16+
<link rel="shortcut icon" href="{{ if .Site.Params.favicon }}{{ .Site.Params.favicon }}{{- else -}}/img/defaultFav.ico{{ end }}">
1717
<!-- Permalink & RSSlink -->
1818
<link rel="canonical" href="{{- .Permalink -}}" />
1919
<link rel="alternative" href="{{- "/index.xml" | relURL -}}" title="{{ .Site.Title }}" type="application/atom+xml"/>

0 commit comments

Comments
 (0)