aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/favicon.html
diff options
context:
space:
mode:
authorCaio Lente <7017340+clente@users.noreply.github.com>2023-10-18 23:36:03 -0300
committerCaio Lente <7017340+clente@users.noreply.github.com>2023-10-18 23:36:03 -0300
commit4edcba8dd16f8e6f9564a2743fe28b7bdfed9784 (patch)
tree8969b4576e889819c461c7b149f90edd4a78e33d /layouts/partials/favicon.html
parentfc8583e4458ee8675b5a982fbdcf523d4f05373e (diff)
downloadhugo-bearcub-4edcba8dd16f8e6f9564a2743fe28b7bdfed9784.tar.gz
hugo-bearcub-4edcba8dd16f8e6f9564a2743fe28b7bdfed9784.tar.bz2
Make images work with baseURLs containing a subdir
Diffstat (limited to 'layouts/partials/favicon.html')
-rw-r--r--layouts/partials/favicon.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/favicon.html b/layouts/partials/favicon.html
index 80f6aca..d391a86 100644
--- a/layouts/partials/favicon.html
+++ b/layouts/partials/favicon.html
@@ -1,2 +1,2 @@
{{ with .Site.Params.favicon }}
-<link rel="shortcut icon" href="{{ . }}" />{{ end }}
+<link rel="shortcut icon" href="{{ absURL . }}" />{{ end }}