{{ template "header" .}}

{{ .nbHits }} {{ .locale.Tr "gist.search.found" }}

{{ if ne (len .gists) 0 }}
{{ range $lang, $count := .langs }} {{ $lang }} ({{ $count }}) {{end}}
{{ range $gist := .gists }} {{ $nest := dict "gist" $gist "C" $.c "locale" $.locale "DisableGravatar" $.DisableGravatar }} {{ template "_gist_preview" $nest }} {{ end }}
{{ template "pagination" . }} {{ else }}

{{ .locale.Tr "gist.search.no-results" }}

{{ end }}
{{ template "footer" .}}