website-theme/layouts/shortcodes/displayToots.html

8 lines
172 B
HTML

{{ $url := .Get 0 }}
{{ $dataJ := getJSON $url }}
{{ range sort $dataJ "created_at" "desc" }}
{{ .Scratch.Set "toot" $dataJ }}
{{ partial "toot.html" . }}
{{ end }}