Created
March 3, 2020 18:17
-
-
Save Porter97/7785ffc7956f13ded030975fa77ff3f8 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
#... | |
<ul class="nav navbar-nav"> | |
<li><a href="{{ url_for('main.index') }}">Home</a></li> | |
{% if current_user.is_authenticated %} | |
<li><a href="{{ url_for('main.user', username=current_user.username) }}">Profile</a></li> | |
<li><a href="{{ url_for('main.users') }}">Users</a></li> | |
<li><a href="{{ url_for('main.new_collection') }}">Add Collection</a></li> | |
<li><a href="{{ url_for('main.new_content') }}">Add Content</a></li> | |
{% endif %} | |
</ul> | |
#... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment