<divstyle="position: relative;"><imgloading="lazy"src="{{u.banner_url}}"class="card-img-top"alt="@{{u.username}} user banner"height=175style="object-fit: cover">
{% if v.id!=u.id and not u.is_private and not u.is_nofollow %}
<divid="button-sub-{{u.id}}"style="z-index: 2"class="{% if u.has_follower(v) %}d-none{% endif %}"><aclass="btn btn-primary"role="button"onclick="post_toast2(this,'/follow/{{u.username}}','button-sub-{{u.id}}','button-unsub-{{u.id}}')">Follow</a></div>
<divid="button-unsub-{{u.id}}"style="z-index: 2"class="{% if not u.has_follower(v) %} d-none{% endif %}"><aclass="btn btn-secondary"role="button"onclick="post_toast2(this,'/unfollow/{{u.username}}','button-sub-{{u.id}}','button-unsub-{{u.id}}')">Unfollow</a></div>