diff --git a/layouts/shortcodes/displayToots.html b/layouts/shortcodes/displayToots.html index 804a800..0d25c20 100644 --- a/layouts/shortcodes/displayToots.html +++ b/layouts/shortcodes/displayToots.html @@ -12,25 +12,42 @@ vertical-align: top; margin-bottom: 0; } - .toot .e-content img { - display: inline-block; - border: 2px solid black; - } + .toot-avatar { display: inline-block; } + .toot .e-content img { border: 2px solid black; } .toot .e-content p:first-of-type { display: inline-block; } + .toot-photos { + display: flex; + justify-content: space-evenly; + flex-wrap: wrap; + } + main .e-content .toot-photos img { + width: 100%; + max-width: 300px; + } + .toot-social { margin-top: 1rem; } {{ range sort $dataJ "created_at" "desc" }} {{ if ne .content "" }}
- +

Tooted on

{{ .content | safeHTML }} + {{ if gt (len .media_attachments) 0 }} +
+ {{ range .media_attachments}} + {{ if eq .type "image" }} + {{ .description }} + {{ end }} + {{ end }} +
+ {{ end }}
-
+
{{ .replies_count }} {{ .reblogs_count }} {{ .favourites_count }}