{{ define "main"}} {{ .Scratch.Set "customTitleHeaderSet" true }} {{ .Scratch.Set "customTitleHeader" "Toots" }} {{ .Scratch.Set "customTitleHeaderLink" "/toots" }} {{ partial "header.html" . }}

Tooted on

{{ .Content | safeHTML }} {{ if gt (len .Params.media_attachments) 0 }}
{{ range .Params.media_attachments}} {{ if eq .type "image" }} {{ .description }} {{ end }} {{ end }}
{{ end }}
{{ range .Params.tags }} {{ end }}
{{ $post_url := urls.Parse .Params.syndication }} {{ $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 }} {{ .Params.replies_count }} {{ .Params.reblogs_count }} {{ .Params.favourites_count }} | Source: {{ .Params.syndication }}
{{ partial "footer.html" . }} {{ end }}