Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CaiJimmy/hugo-theme-stack.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/head/head.html')
-rw-r--r--layouts/partials/head/head.html7
1 files changed, 1 insertions, 6 deletions
diff --git a/layouts/partials/head/head.html b/layouts/partials/head/head.html
index 5de6071..be63710 100644
--- a/layouts/partials/head/head.html
+++ b/layouts/partials/head/head.html
@@ -19,12 +19,7 @@
{{- end -}}
{{ with .Site.Params.favicon }}
- {{ $favicon := resources.Get . }}
- {{ if $favicon }}
- <link rel="shortcut icon" href="{{ $favicon.RelPermalink }}" />
- {{ else }}
- {{ errorf "Failed loading favicon from %q" . }}
- {{ end }}
+ <link rel="shortcut icon" href="{{ . }}" />
{{ end }}
{{- template "_internal/google_analytics.html" . -}}