|
|
|
@ -28,8 +28,10 @@
|
|
|
|
|
</div>
|
|
|
|
|
<a class="navbar-item" href="{{ url_for('main.about') }}">About</a>
|
|
|
|
|
<a class="navbar-item" href="{{ url_for('post.create') }}">Submit</a>
|
|
|
|
|
{% if session.auth.preferred_username | is_moderator %}
|
|
|
|
|
<a class="navbar-item" style="color: orange;" href="{{ url_for('mod.main') }}">Mods!</a>
|
|
|
|
|
{% if 'auth' in session %}
|
|
|
|
|
{% if session.auth.preferred_username | is_moderator %}
|
|
|
|
|
<a class="navbar-item" style="color: orange;" href="{{ url_for('mod.main') }}">Mods!</a>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% endif %}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|