example/templates/user_followers.html
raw| 1 | {% extends "base.html" %} |
| 2 | |
| 3 | {% block content_title %}Followers{% endblock %} |
| 4 | |
| 5 | {% block content %} |
| 6 | <ul> |
| 7 | {% for person in user.followers() %} |
| 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 %} |