Created
March 3, 2020 19:29
-
-
Save Porter97/eea5328c8f281f65c5e031987ba695be to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#... | |
{% endif %} | |
<a href="{{ url_for('.followers', username=user.username) }}">Followers: <span class="badge">{{ user.followers.count() - 1 }}</span></a> | |
<a href="{{ url_for('.followed_by', username=user.username) }}">Following: <span class="badge">{{ user.followed.count() - 1 }}</span></a> | |
{% if current_user.is_authenticated and user != current_user and user.is_following(current_user) %} | |
#... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment