website-theme/layouts/shortcodes/displayToot.html

7 lines
197 B
HTML
Raw Normal View History

2022-05-15 20:37:52 -04:00
{{ $toot_reference := .Get 0 }}
{{ $url := printf "static/data/toots/%s.json" $toot_reference }}
{{ $dataJ := getJSON $url }}
2022-06-02 20:20:32 -04:00
{{ .Scratch.Set "toot" $dataJ }}
2023-01-05 00:35:01 -05:00
{{ partial "external/toot.html" . }}