diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl
index d057754410..8551801d01 100644
--- a/templates/base/head.tmpl
+++ b/templates/base/head.tmpl
@@ -6,6 +6,7 @@
+
{{if .GoGetImport}}
diff --git a/templates/base/head_old.tmpl b/templates/base/head_old.tmpl
index e04fe2e1a7..fc2a86788d 100644
--- a/templates/base/head_old.tmpl
+++ b/templates/base/head_old.tmpl
@@ -8,6 +8,7 @@
+
{{if .GoGetImport}}{{end}}
diff --git a/templates/ng/base/head.tmpl b/templates/ng/base/head.tmpl
index f2a235bd43..6d5001a9cb 100644
--- a/templates/ng/base/head.tmpl
+++ b/templates/ng/base/head.tmpl
@@ -6,6 +6,7 @@
+
{{if .GoGetImport}}{{end}}