{{define "content"}} {{$d := .Data}} {{with $d.Owner}}
Share snippets, notes and single files. Every gist is a git repository you can clone, fork and push to.
{{if $.User}}New gist{{end}}{{len .Files}} file{{if ne (len .Files) 1}}s{{end}} · updated {{ago $g.Updated}}{{if $g.Stars}} · {{$g.Stars}} star{{if ne $g.Stars 1}}s{{end}}{{end}}{{if $g.Forks}} · {{$g.Forks}} fork{{if ne $g.Forks 1}}s{{end}}{{end}}{{if $g.Comments}} · {{$g.Comments}} comment{{if ne $g.Comments 1}}s{{end}}{{end}}
{{range .Preview}}{{template "gistbody" .}}{{end}}{{if $d.Starred}}No starred gists yet.{{else}}No gists yet.{{end}}
{{end}} {{end}}