{{ range sort . "published" "asc" }}
{{ if eq (index . "wm-property") "mention" }}
{{ .author.name }} mentioned this post in the post {{ .title }} {{ if .content.html }}

{{ .content.html | safeHTML }}

{{ else }}

{{ .content.text | safeHTML }}

{{ end }}
{{ end }} {{ if eq (index . "wm-property") "in-reply-to" }}
{{ .author.name }} replied to this post here
{{ if .content.html }}

{{ .content.html | safeHTML }}

{{ else }}

{{ .content.text | safeHTML }}

{{ end }} {{ if .photo }}{{ range .photo }} {{ end }}{{ end }}
{{ end }} {{ if eq (index . "wm-property") "bookmark" }}
{{ .author.name }} bookmarked this post
{{ end }} {{ end }}