No images in this repository’s iceberg at this time
Download raw (2.5 KB)
{% extends "aacore/base.html" %} {% block body_id %}twitblr{% endblock %} {% block body %} <section id="content"> <h1 id="node">Twitblr</h1> <section id="tumblr"> <h2>Tumblr archive</h2> {% for post in tumblr_posts %} <section class="box annotation" data-url=""> {% if post.photos.all %} {% for photo in post.photos.all %} {% ifchanged %} <img src="{{ photo.url }}" alt={{ photo.caption }} title={{ photo.caption }} /> {% endifchanged %} {% endfor %} {% endif %} {{ post.body|safe }} {{ post.caption|safe }} {{ post.text|safe }} <dl> {% if post.source %} <dt class="source">Source</dt> <dd>{{ post.source|safe }}</dd> {% endif %} {% if post.tags.all %} <dt>Tags</dt> {% for tag in post.tags.all %} <dd>{{ tag }}</dd> {% endfor %} {% endif %} </dl> <p class="twitblr-infos"> <a target="_blank" href="{{ post.url }}"> Tumblred by {{ post.blog_name }} on <date>{{ post.date }}</date> </a> </p> </section> {% endfor %} </section> <section id="twitter"> <h2>Twitter archive</h2> {% for post in twitter_posts %} <section class="box annotation" data-url=""> {% if post.photos.all %} {% for media in post.photos.all %} <img src="{{ media.url }}" alt="" /> {% endfor %} {% endif %} {{ post.text|safe }} <p class="twitblr-infos"> <a target="_blank" href="{{ post.url }}"> Twittered by {{ post.user }} {% ifnotequal post.user post.screen_name %} ({{ post.screen_name }}) {% endifnotequal %} on <date>{{ post.date }}</date> </a> </p> </section> {% endfor %} </section> </section> {% endblock %}