aboutsummaryrefslogtreecommitdiffstats
path: root/templates/base
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-04-09 21:42:25 -0400
committerUnknown <joe2010xtmf@163.com>2014-04-09 21:42:25 -0400
commit5d4025cb5a629716bf84f4f5bf3baa97af716df4 (patch)
tree0302bc6bc306df2f400b8b19fb9531918e09c7ca /templates/base
parent3487f1728530fd2b0a447fe6fd7ef079cb53eed4 (diff)
downloadgitea-5d4025cb5a629716bf84f4f5bf3baa97af716df4.tar.gz
gitea-5d4025cb5a629716bf84f4f5bf3baa97af716df4.zip
Add go get meta support
Diffstat (limited to 'templates/base')
-rw-r--r--templates/base/head.tmpl1
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}}