From dd11d56dd986c82914ce529fb43c8e2beb78a094 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Fri, 23 Sep 2022 17:17:34 +0000
Subject: [PATCH] Merge branch 'hugo' of https://github.com/jackyzha0/quartz into hugo
---
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..836dc79 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">{{ i18n "edit_source" }}</a>
{{end}}
--
Gitblit v1.10.0