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

{{$.locale.Tr "repo.search.code_search_unavailable"}}

{{else if .Keyword}}

{{.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}}
{{$.locale.Tr "repo.search.code_no_results"}}
{{end}} {{end}}
{{template "base/footer" .}}