From f00159f53b3774601500ec65345791311ff6efa1 Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Tue, 30 Jan 2024 16:16:05 +0000 Subject: migrate to poem and askama --- templates/latestskweets.html | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 templates/latestskweets.html (limited to 'templates/latestskweets.html') diff --git a/templates/latestskweets.html b/templates/latestskweets.html new file mode 100644 index 0000000..84798de --- /dev/null +++ b/templates/latestskweets.html @@ -0,0 +1,44 @@ +
+

latest skweets

+ {% for skweet in skweets %} + {% if not skweet.reblog %} +
+ +
+

{{ skweet.username }}

{{ skweet.time_since }} ago
+
{{ skweet.content }}
+ {% if skweet.media_attachments[0] %} + {% for media_attachment in skweet.media_attachments %} + {% if media_attachment.type == "image" %} + + {% elif media_attachment.type == "video" %} + + {% endif %} + {% endfor %} + {% endif %} +
+
+ {% elif skweet.reblog %} +
+

boosted:

+
+ +
+

{{ skweet.username }}

{{ skweet.time_since }} ago
+
{{ skweet.content }}
+ {% if skweet.media_attachments[0] %} + {% for media_attachment in skweet.media_attachments %} + {% if media_attachment.type == "image" %} + + {% elif media_attachment.type == "video" %} + + {% endif %} + {% endfor %} + {% endif %} +
+
+
+ {% endif %} + {% endfor %} +
+ -- cgit