website-theme/layouts/shortcodes/displayToot.html

7 lines
188 B
HTML
Raw Normal View History

2022-05-16 00:37:52 +00:00
{{ $toot_reference := .Get 0 }}
{{ $url := printf "static/data/toots/%s.json" $toot_reference }}
{{ $dataJ := getJSON $url }}
2022-06-03 00:20:32 +00:00
{{ .Scratch.Set "toot" $dataJ }}
{{ partial "toot.html" . }}