{{ if not .State.XHR }}
{{ if gt .Rank 0 }}
{{ .Rank }}
{{ end }}
{{ end }} {{ if .State.Session }} {{ else }}
{{ .Counts.Score }}
{{ end }} {{ if not .State.XHR}}
{{ .Post.Name }} ({{ domain . }})
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}}
{{ if .Post.NSFW }}NSFW{{end}} {{ .Counts.Comments }} comments {{ if and .State.Session (eq .State.Session.UserID .Post.CreatorID) }} {{ if not .Post.Deleted }}edit{{end}} {{ end}} {{ if .State.Session }} {{end}}
{{ if (and .Post.Body.IsValid (ne .Post.Body.String "")) }}
{{ markdown .State.Host .Post.Body.String }}
{{ end }} {{ if isImage .Post.URL.String}} {{ end }}
{{ end }}