{% extends "whispermaphone/page.html" %} {% load static %} {% block title %}Thoughts{% endblock %} {% block head %} {% endblock %} {% block main %} {% load tz %} {% for thought in thoughts %}
{{thought.text}}
{{thought.extended_text}} {% with file_type=thought.get_media_type %} {% if file_type == "png" or file_type == "jpeg" %} {{ thought.media_alt }} {% elif file_type == "m4a" or file_type == "mp3" or file_type == "aac" %} {% elif file_type == "mov" or file_type == "mp4" %} {% endif %} {% endwith %}
{% timezone thought.timezone %} {{ thought.posted|time:"g:i a" }} {{ thought.posted|date:"M d, Y" }}, UTC{{ thought.offset_hours }} {% endtimezone %}

{% endfor %} {% endblock %} {% block scripts %} {% endblock %}