diff options
Diffstat (limited to '')
-rw-r--r-- | templates/latestskweets.html.tera | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/templates/latestskweets.html.tera b/templates/latestskweets.html.tera index bcdc2fa..b2e8979 100644 --- a/templates/latestskweets.html.tera +++ b/templates/latestskweets.html.tera @@ -1,19 +1,21 @@ <div class="panel" id="skinnyverse"> <h2><a id="latest-skweets" href="https://skinnyver.se/cel">latest skweets</a></h2> + {% for skweet in skweets %} + {% if not skweet.reblog %} <div class="skweet"> - <img src="https://s3.eu-west-1.wasabisys.com/skinnyverse/426b13b9-0d01-4dc1-abc9-6dbc1ec8a8a6/bjorkcpu2.png" class="profile"> + <img src="{{ skweet.account.avatar }}" class="profile"> <div class="skweet-content"> - <div class="skweet-info"><h4>@cel</h4><h5>2h ago</h5></div> - <p>@nyx @lain ikr? omg we have no choice but to stan our skinny legend</p> - <div class="skweet-gallery"><img src="https://skinnyver.se/media/22aca0d1-441c-425f-b9b2-7501a29d8e9c/lain_skinny2.png"><img src="https://skinnyver.se/media/4f6344de-b334-417e-b202-f1daf3207986/vlcsnap-2022-06-15-09h55m17s937.png"></div> - </div> - </div> - <div class="skweet"> - <img src="https://s3.eu-west-1.wasabisys.com/skinnyverse/426b13b9-0d01-4dc1-abc9-6dbc1ec8a8a6/bjorkcpu2.png" class="profile"> - <div class="skweet-content"> - <div><h4>@cel</h4><h5>2h ago</h5></div> - <p>@nyx @lain ikr? omg we have no choice but to stan our skinny legend</p> - <div class="skweet-gallery"><img src="https://skinnyver.se/media/22aca0d1-441c-425f-b9b2-7501a29d8e9c/lain_skinny2.png"><img src="https://skinnyver.se/media/4f6344de-b334-417e-b202-f1daf3207986/vlcsnap-2022-06-15-09h55m17s937.png"></div> + <div class="skweet-info"><h4>{{ skweet.account.username }}</h4><a href="skweet.url"><h5>{{ skweet.created_at | date(format="%Y-%m-%d %H:%M") }}UTC</h5></a></div> + <div class="skweet-text">{{ skweet.content }}</div> + {% if skweet.media_attachments[0] %} + <div class="skweet-gallery"> + {% for media_attachment in skweet.media_attachments %} + <img src="{{ media_attachment.url }}"> + {% endfor %} + </div> + {% endif %} </div> </div> + {% endif %} + {% endfor %} </div>
\ No newline at end of file |