{{- define "search" -}}
{{ if .Truncated }}Truncated results, showing first {{ .Count }}{{ else }}{{ if eq .Count 0 }}No results{{ else }}{{ .Count }} result{{ if ne .Count 1}}s{{ end }}{{ end }}{{ end }}.
{{ range .ExactResults -}} {{- template "entry" . -}} {{- end }} {{ if and (ne (len .ExactResults) 0) (ne (len .OtherResults) 0) }}