Add GitHub "edit" button (#157)
This commit is contained in:
		
							
								
								
									
										3
									
								
								layouts/partials/github.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								layouts/partials/github.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
{{if $.Site.Data.config.enableGitHubEdit}
 | 
			
		||||
<a href="{{$.Site.Data.config.GHlink}}/{{ .Path}}" rel="noopener">Edit Source</a>
 | 
			
		||||
{{end}}
 | 
			
		||||
		Reference in New Issue
	
	Block a user