Add GitHub "edit" button (#157)

This commit is contained in:
rphla
2022-07-06 06:39:29 +08:00
committed by GitHub
parent 1d5530e22f
commit d279c1c805
3 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,3 @@
{{if $.Site.Data.config.enableGitHubEdit}
<a href="{{$.Site.Data.config.GHlink}}/{{ .Path}}" rel="noopener">Edit Source</a>
{{end}}