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