{{if eq .Type "post"}}
{{with .AuthorName}}written by {{end}} {{if .Categories}}Filed under {{range .Categories}}{{.Name}}{{end}}{{end}} {{if or .CommentsOpen .CommentCount}}{{plural .CommentCount "%s note" "%s notes"}} on {{.Title}}{{end}} {{with .EditLink}}{{.}}{{end}}
{{else}}{{with .EditLink}}
{{.}}
{{end}}{{end}}