{{ $tootData := .Scratch.Get "toot" }} {{ with $tootData }} {{ if ne .content "" }}

Tooted on

{{ .content | safeHTML }} {{ if gt (len .media_attachments) 0 }}
{{ range .media_attachments}} {{ if eq .type "image" }} {{ .description }} {{ end }} {{ end }}
{{ end }}
{{ range .tags }} {{ end }}
{{ $post_url := urls.Parse .url }} {{ $status_id := index (last 1 (split $post_url.Path "/")) 0 }} {{ $social_url := printf "%s://%s/interact/%s" $post_url.Scheme $post_url.Host $status_id }} {{ $reply_url := printf "%s?type=reply" $social_url }} {{ $favorite_url := printf "%s?type=favourite" $social_url }} {{ $boost_url := printf "%s?type=reblog" $social_url }} {{ .replies_count }} {{ .reblogs_count }} {{ .favourites_count }} | Source: {{ .url }}
{{ end }} {{ end }}