From 25b5ac43ddbf9899e9a11b4ad8083a4c66bcf637 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Mon, 04 Apr 2022 00:43:37 +0000
Subject: [PATCH] fix: favicon not showing on non-root domain #89
---
layouts/partials/head.html | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 7ccf81b..195cade 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -4,7 +4,7 @@
<meta name="description" content="{{if .IsHome}}{{$.Site.Data.config.description}}{{else}}{{.Summary}}{{end}}">
<title>{{ if .Title }}{{ .Title }}{{ else }}{{ $.Site.Data.config.page_title }}{{ end }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="shortcut icon" type="image/png" href="/icon.png" />
+ <link rel="shortcut icon" type="image/png" href="{{$.Site.BaseURL}}/icon.png" />
<!-- CSS Stylesheets and Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Source+Sans+Pro:wght@400;600;700&family=Fira+Code:wght@400;700&display=swap" rel="stylesheet">
--
Gitblit v1.10.0