diff --git a/templates/explore/repo_search.tmpl b/templates/explore/repo_search.tmpl
index 31b00d29e3..136d3f8e81 100644
--- a/templates/explore/repo_search.tmpl
+++ b/templates/explore/repo_search.tmpl
@@ -6,8 +6,8 @@
{{template "shared/searchinput" dict "Value" .Keyword "AutoFocus" true}}
{{if .PageIsExploreRepositories}}
- {{else}}
-
+ {{else if .TabName}}
+
{{end}}