diff --git a/templates/user/code.tmpl b/templates/user/code.tmpl
index 730d4dc9eb2..ecd6aa566ca 100644
--- a/templates/user/code.tmpl
+++ b/templates/user/code.tmpl
@@ -5,13 +5,13 @@
{{template "code/searchform" .}}
- {{if .CodeIndexerUnavailable }}
+ {{if .CodeIndexerUnavailable}}
{{$.locale.Tr "explore.code_search_unavailable"}}
{{else if .SearchResults}}
- {{.locale.Tr "explore.code_search_results" (.Keyword|Escape) | Str2html }}
+ {{.locale.Tr "explore.code_search_results" (.Keyword|Escape) | Str2html}}
{{template "code/searchresults" .}}
{{else if .Keyword}}