aboutsummaryrefslogtreecommitdiffstats
path: root/templates/base
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-04-13 04:08:25 -0400
committerUnknown <joe2010xtmf@163.com>2014-04-13 04:08:25 -0400
commitd26a333dfbd47e9b6f92fad7fcd779ad72070f8a (patch)
treeb4579585ff66f541f718f850efacecca3c5e3c12 /templates/base
parent9d983f27d69b72f42eeb833cb0f38e78e3819839 (diff)
downloadgitea-d26a333dfbd47e9b6f92fad7fcd779ad72070f8a.tar.gz
gitea-d26a333dfbd47e9b6f92fad7fcd779ad72070f8a.zip
go get
Diffstat (limited to 'templates/base')
-rw-r--r--templates/base/head.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl
index 648eb7c467..441fd542df 100644
--- a/templates/base/head.tmpl
+++ b/templates/base/head.tmpl
@@ -9,7 +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}}
+ <meta name="go-import" content="{{AppDomain}} git {{if .Repository.IsGoget}}{{.GoGetLink}}{{else}}{{AppDomain}}/{{end}}">
<!-- Stylesheets -->
{{if IsProdMode}}