{{ if ne (len .gists) 0 }}
{{ range $gist := .gists }}
{{ end }}
{{ template "pagination" . }}
{{ else }}
{{ end }}
{{ $gist.User.Username }} / {{ $gist.Title }}
{{ $gist.NbLikes }} likes
{{ $gist.NbForks }} forks
{{ $gist.NbFiles }} files
Last active {{ $gist.Forked.User.Username }}/{{ $gist.Forked.Title }} {{ end }} {{ if $gist.Private }} • Unlisted {{ end }}
{{ if $gist.Forked }} • Forked from{{ $gist.Description }}
{{ if isMarkdown $gist.PreviewFilename }}
{{ $ii := "1" }}
{{ $i := toInt $ii }}
{{ range $line := lines $gist.Preview }}
{{ end }}
{{ $gist.Preview }}
{{ else }}
{{$i}} | {{ $line }} |