{{range $i, $p := .Posts}}
{{printf "%02d" (add $i 1)}} {{$p.Title}} {{with $p.Categories}}{{(index . 0).Name}}{{else}}Note{{end}} {{with $p.Thumbnail}}{{.}}{{end}} {{if $p.ShowExcerpt}}
{{$p.Excerpt}}
{{end}}
{{end}}