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

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/head/favicons.html')
-rw-r--r--layouts/partials/head/favicons.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/layouts/partials/head/favicons.html b/layouts/partials/head/favicons.html
index c6813e9..2e77ade 100644
--- a/layouts/partials/head/favicons.html
+++ b/layouts/partials/head/favicons.html
@@ -1,2 +1,3 @@
-<!-- Icon -->
-<link rel="shortcut icon" href="{{ .Site.Params.faviconFile | default "img/favicon.ico" | relURL }}">
+{{ with .Site.Params.favicon }}
+<link rel="shortcut icon" href="{{ . | absURL }}">
+{{ end }}