aboutsummaryrefslogtreecommitdiffstats
path: root/templates/base
diff options
context:
space:
mode:
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}}