diff options
author | Unknown <joe2010xtmf@163.com> | 2014-04-13 04:08:25 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-04-13 04:08:25 -0400 |
commit | d26a333dfbd47e9b6f92fad7fcd779ad72070f8a (patch) | |
tree | b4579585ff66f541f718f850efacecca3c5e3c12 /templates/base | |
parent | 9d983f27d69b72f42eeb833cb0f38e78e3819839 (diff) | |
download | gitea-d26a333dfbd47e9b6f92fad7fcd779ad72070f8a.tar.gz gitea-d26a333dfbd47e9b6f92fad7fcd779ad72070f8a.zip |
go get
Diffstat (limited to 'templates/base')
-rw-r--r-- | templates/base/head.tmpl | 2 |
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}} |