diff options
author | Unknown <joe2010xtmf@163.com> | 2014-04-09 21:42:25 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-04-09 21:42:25 -0400 |
commit | 5d4025cb5a629716bf84f4f5bf3baa97af716df4 (patch) | |
tree | 0302bc6bc306df2f400b8b19fb9531918e09c7ca /templates/base | |
parent | 3487f1728530fd2b0a447fe6fd7ef079cb53eed4 (diff) | |
download | gitea-5d4025cb5a629716bf84f4f5bf3baa97af716df4.tar.gz gitea-5d4025cb5a629716bf84f4f5bf3baa97af716df4.zip |
Add go get meta support
Diffstat (limited to 'templates/base')
-rw-r--r-- | templates/base/head.tmpl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index 2f88e918f3..648eb7c467 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -9,6 +9,7 @@ <meta name="description" content="Gogs(Go Git Service) is a GitHub-like clone in the Go Programming Language" /> <meta name="keywords" content="go, git"> <meta name="_csrf" content="{{.CsrfToken}}" /> + {{if .Repository.IsGoget}}<meta name="go-import" content="{{AppDomain}} git {{.CloneLink.HTTPS}}">{{end}} <!-- Stylesheets --> {{if IsProdMode}} |