Add GitHub "edit" button (#157)

This commit is contained in:
rphla authored and GitHub committed 2022-07-05 15:39:29 -07:00
1 parent aaf31f419e
commit 25a4d3b6e1
3 files changed
+7 -1

No files matched your search

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