{{if .SearchResults}}
{{template "base/paginate" .}}
{{.i18n.Tr "explore.code_search_results" (.Keyword|Escape) | Str2html }}
{{range $term := .SearchResultLanguages}}
{{$term.Language}}
{{$term.Count}}
{{end}}
{{range $result := .SearchResults}}
{{$repo := (index $.RepoMaps .RepoID)}}
{{template "shared/searchbottom" dict "root" $ "result" .}}
{{end}}
{{else}}
{{$repo.FullName}} {{if $repo.IsArchived}} {{$.i18n.Tr "repo.desc.archived"}} {{end}} - {{.Filename}} {{$.i18n.Tr "repo.diff.view_file"}}
{{range .LineNumbers}} {{.}} {{end}} | {{.FormattedLines | Safe}} |
{{$.i18n.Tr "explore.code_no_results"}}
{{end}}