{{ $toot_reference := .Get 0 }} {{ $url := printf "static/data/toots/%s.json" $toot_reference }} {{ $dataJ := getJSON $url }} {{ with $dataJ }} {{ if ne .content "" }}

Tooted on

{{ .content | safeHTML }} {{ if gt (len .media_attachments) 0 }}
{{ range .media_attachments}} {{ if eq .type "image" }} {{ .description }} {{ end }} {{ end }}
{{ end }}
{{ .replies_count }} {{ .reblogs_count }} {{ .favourites_count }} | Source: {{ .url }}
{{ end }} {{ end }}