From 5c76d8dad9d993010c4e57c6de4e90911a3cd11a Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Fri, 05 Aug 2022 18:08:52 +0000
Subject: [PATCH] fix: make callout detection case-insensitive (closes #171)

---
 layouts/partials/github.html |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/layouts/partials/github.html b/layouts/partials/github.html
index 87a4429..21adb63 100644
--- a/layouts/partials/github.html
+++ b/layouts/partials/github.html
@@ -1,3 +1,3 @@
-{{if $.Site.Data.config.enableGitHubEdit}
-<a href="{{$.Site.Data.config.GHlink}}/{{ .Path}}" rel="noopener">Edit Source</a>
+{{if $.Site.Data.config.enableGitHubEdit}}
+<a href="{{$.Site.Data.config.GitHubLink}}/{{.File.Path}}" rel="noopener">Edit Source</a>
 {{end}}

--
Gitblit v1.10.0