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

github.com/heyeshuang/hugo-theme-tokiwa.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author贺叶霜 <i@heysh.xyz>2023-01-08 12:29:40 +0300
committerGitHub <noreply@github.com>2023-01-08 12:29:40 +0300
commit2dc03edbe4ccf073aac4cd0f6dd7cb90349316c9 (patch)
tree2b8ed5681de689df7374b3288074ca89fa685cad
parent3c7c9372cb65163ba0627c333f3bfe53d0c5cecf (diff)
fix #40
-rw-r--r--layouts/partials/site-favicon.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/site-favicon.html b/layouts/partials/site-favicon.html
index aaaca67..e31100b 100644
--- a/layouts/partials/site-favicon.html
+++ b/layouts/partials/site-favicon.html
@@ -1,3 +1,3 @@
{{ if .Site.Params.favicon }}
-<link rel="shortcut icon" href="{{ .Site.Params.favicon }}" type="image/png" />
-{{ end }} \ No newline at end of file
+<link rel="shortcut icon" href="{{ .Site.Params.favicon|absURL }}" type="image/png" />
+{{ end }}