example/templates/user_following.html
raw| 1 | {% extends "base.html" %} |
| 2 | |
| 3 | {% block content_title %}Following{% endblock %} |
| 4 | |
| 5 | {% block content %} |
| 6 | <ul> |
| 7 | {% for person in user.following() %} |
| 8 | <li><a href="{{ url_for('user_detail', username=person.username) }}">{{ person.username }}</a></li> |
| 9 | {% endfor %} |
| 10 | </ul> |
| 11 | {% include "includes/pagination.html" %} |
| 12 | {% endblock %} |