]> source.dussan.org Git - gitea.git/commit
Add go-source directive to repo pages
authorNathan Zadoks <nathan@nathan7.eu>
Fri, 30 Oct 2015 12:52:36 +0000 (13:52 +0100)
committerNathan Zadoks <nathan@nathan7.eu>
Fri, 30 Oct 2015 13:00:09 +0000 (14:00 +0100)
commit4323a89c0354e4f25dbffc4b77c1e3f9ba68ba24
tree2f9835381733f54d473556b840539a7b6000ff4a
parent102b675f96eb4340c35376ddd33385f4f20ef091
Add go-source directive to repo pages

This makes Gogs repos work with godoc.org: https://github.com/golang/gddo/wiki/Source-Code-Links
modules/middleware/repo.go
templates/base/head.tmpl
templates/ng/base/head.tmpl