diff --git a/layouts/shortcodes/displayToots.html b/layouts/shortcodes/displayToots.html new file mode 100644 index 0000000..a550bb9 --- /dev/null +++ b/layouts/shortcodes/displayToots.html @@ -0,0 +1,36 @@ +{{ $suburl := .Get 0 }} +{{ $url := print .Site.BaseURL $suburl}} +{{ $dataJ := getJSON $url }} + + + +{{ range $dataJ }} +{{ if ne .content "" }} +
+
+
+ + {{ .content | safeHTML }} +
+
+
+ {{ .replies_count }} + {{ .reblogs_count }} + {{ .favourites_count }} +
+
+{{ end }} +{{ end }}