a mastodon api prototyping area
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
624 B

{% extends "base.html" %}
{% block content %}
<div id="content">
<h1>Timeline explorations @ {{ instance.uri }}</h1>
<div class="stats">{{ instance.stats }}</div>
{% for status in content %}
<div class="status">
<div class="username">{{ status.account.username }}:</div>
<div class="toot">{{ status.content | safe }}</div> <!-- http://jinja.pocoo.org/docs/2.10/templates/#safe -->
<div class="media">
{% for media in status.media_attachments %}
{% if media.type == 'image' %}
<img src="{{ media.url }}">
{% endif %}
{% endfor %}
</div>
</div>
{% endfor %}
</div>
{% endblock %}