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

github.com/AmazingRise/hugo-theme-diary.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRise <8315221+AmazingRise@users.noreply.github.com>2020-09-15 03:24:04 +0300
committerGitHub <noreply@github.com>2020-09-15 03:24:04 +0300
commite8ba7703e53b2a5033caf7bb649b1d5d2c1f3b83 (patch)
treed9b5bde6a5564398efc24c0025696aa9dd4ff2f9
parent40fae5c7993a85ab347f5bbce6f0dbc0e9c37bba (diff)
parentcc9feb9da99becfda2f8d645803fd9f174ef8f6c (diff)
Merge pull request #62 from xclwt/master
fixed the bug that the favicon could not display normally
-rw-r--r--layouts/partials/head.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index fa45b73..bf58d73 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -43,7 +43,7 @@
{{end}}
{{ if .Site.Params.favicon }}
-<link rel="icon" href="{{ .Site.Params.favicon }}">
+<link rel="icon" href="{{ .Site.Params.favicon | absURL }}">
<!-- favicon -->
{{ end }}
@@ -117,4 +117,4 @@ $(
<script src="https://cdn.jsdelivr.net/npm/vue-disqus@3/dist/vue-disqus.js"></script>
{{ end }}
-</head> \ No newline at end of file
+</head>