{{ if gt .Rank 0 }}
{{ .Rank }}
{{ end }}
{{ if .State.Session }} {{ else }}
{{ .Counts.Score }}
{{ end }}
{{ .Post.Name }} ({{ host . }})
{{ if or (and .Post.Body.IsValid (ne .Post.Body.String "")) (isImage .Post.URL.String) }}
{{ end }}
submitted {{ humanize .Post.Published.Time -}} {{- if gt .Post.Updated.Time.Unix .Post.Published.Time.Unix -}} * (last edited {{ humanize .Post.Updated.Time }}) {{ end }} by {{ fullname .Creator }} to c/{{ fullcname .Community}}
{{ .Counts.Comments }} comments {{ if and .State.Session (eq .State.Session.UserID .Post.CreatorID) }} {{ if not .Post.Deleted }}edit{{end}} {{ end}}
{{ if (and .Post.Body.IsValid (ne .Post.Body.String "")) }}
{{ markdown .State.Host .Post.Body.String }}
{{ end }} {{ if isImage .Post.URL.String}} {{ end }}