{{ define "activity_create_note" }} {{ $actors := .actors }} {{ $announcements := .announcements }} {{ $media := .media }} {{ with $item := .item }} {{ with $note := $item.create_note}}
  • icon

    {{ if $note.in_reply_to }} {{- $actors.Lookup "name" $note.author -}} replied to {{ if $note.in_reply_to_author }} {{- $actors.Lookup "name" $note.in_reply_to_author -}} {{ else }} a note {{ end }} {{ else }} {{- $actors.Lookup "name" $note.author -}} wrote {{ end }} on {{ datetime $note.published_at }}

    {{- $note.content | toHTML -}} {{ if $note.media }} {{ end }}
  • {{ end }} {{ end }} {{ end }}