aboutsummaryrefslogtreecommitdiffstats
path: root/templates/latestskweets.html.tera
blob: b2e89790e37a63f96ecb77feee68576e6697c2f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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="{{ skweet.account.avatar }}" class="profile">
    <div class="skweet-content">
      <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>