{% extends "layout.html" %} {% block main %} {% if username %} Spit something new! {% if status_spit %} Last status update: {{ status_spit.text }} {% else %} Last status update: No status {% endif %} {% endif %} {% if spits_type %} {{ spits_type }} {% elif following %} Following: {% for x in following %} {{ x }} {% endfor %} {% endif %} {% for spit in spits %} {{ spit.text }} by {{ spit.username }} at {{ friendly(spit.created) }} {% endfor %} Active Users {% for user in active_users %} {{ user }} {% endfor %} {% endblock %}