{{ctx.Locale.Tr "repo.search.results" (.Keyword|Escape) (.RepoLink|Escape) (.RepoName|Escape) | Str2html}}
{{if .SearchResults}}
{{range $term := .SearchResultLanguages}}
{{$term.Language}}
{{$term.Count}}
{{end}}
{{range $result := .SearchResults}}
{{end}}
{{template "base/paginate" .}}
{{else}}
{{.Filename}} {{ctx.Locale.Tr "repo.diff.view_file"}}
{{template "shared/searchfile" dict "RepoLink" $.SourcePath "SearchResult" .}}
{{template "shared/searchbottom" dict "root" $ "result" .}}
{{ctx.Locale.Tr "repo.search.code_no_results"}}
{{end}}
{{end}}