{{template "repo/header" .}}
{{if .CodeIndexerUnavailable}}

{{ctx.Locale.Tr "repo.search.code_search_unavailable"}}

{{else if .Keyword}}

{{ctx.Locale.Tr "repo.search.results" (.Keyword|Escape) (.RepoLink|Escape) (.RepoName|Escape) | Str2html}}

{{if .SearchResults}}
{{range $term := .SearchResultLanguages}} {{$term.Language}}
{{$term.Count}}
{{end}}
{{template "base/paginate" .}} {{else}}
{{ctx.Locale.Tr "repo.search.code_no_results"}}
{{end}} {{end}}