{{ if ne (len .gists) 0 }}
{{ range $gist := .gists }}
{{ end }}
{{ template "pagination" . }}
{{ else }}
{{ end }}
{{ $gist.User.Username }} / {{ $gist.Title }}
{{ $gist.NbLikes }} {{ $.locale.Tr "gist.list.likes" }}
{{ $gist.NbForks }} {{ $.locale.Tr "gist.list.forks" }}
{{ $gist.NbFiles }} {{ $.locale.Tr "gist.list.files" }}
{{ $.locale.Tr "gist.list.last-active" }} {{ $gist.Forked.User.Username }}/{{ $gist.Forked.Title }} {{ end }} {{ if $gist.Private }} • {{ visibilityStr $gist.Private false }} {{ end }}
{{ if $gist.Forked }} • {{ $.locale.Tr "gist.list.forked-from" }}{{ $gist.Description }}
{{ if isMarkdown $gist.PreviewFilename }}
{{ $ii := "1" }}
{{ $i := toInt $ii }}
{{ range $line := $gist.Lines }}
{{ end }}
{{ $gist.HTML | safe }}
{{ else }}
{{$i}} | {{ $line | safe }} |