diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl
index d05775441..8551801d0 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 e04fe2e1a..fc2a86788 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 f2a235bd4..6d5001a9c 100644
--- a/templates/ng/base/head.tmpl
+++ b/templates/ng/base/head.tmpl
@@ -6,6 +6,7 @@
+
{{if .GoGetImport}}{{end}}