{{ template "header" .}}
{{if .fromUser}}
{{ .fromuser.Username }}'s Avatar

{{.fromUser.Username}}

{{ .locale.Tr "gist.list.joined" }} {{.fromUser.CreatedAt}}

{{ else }} {{ if eq .mode "all" }}

{{ .locale.Tr "gist.list.all" }}

{{ else if eq .mode "search" }}

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

{{ end }} {{ end }}
{{ if and (ne .mode "all") (ne .mode "search") }}
{{ end }}
{{ if ne (len .gists) 0 }} {{ range $gist := .gists }} {{ $nest := dict "gist" $gist "C" $.c "locale" $.locale "DisableGravatar" $.DisableGravatar "searchQuery" $.searchQuery }} {{ template "_gist_preview" $nest }} {{ end }} {{ template "_pagination" . }} {{ else }}

{{ .locale.Tr "gist.list.no-gists" }}

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