{% extends 'layout.html' %} {% block content %}

{{ user.username }}

Since {{ user.created_date }}

{% if not is_self %} {% if not following %}
{% else %}
{% endif %} {% endif %}

Books

{% for book in books.all %}
{{ book.data.title }} by {{ book.authors.first.data.name }}
{% endfor %}

Followers

{% for follower in user.followers.all %}
{{ follower.username }}
{% endfor %}
{% endblock %}