tweaks i forgot what

This commit is contained in:
cube
2026-03-19 02:56:39 +00:00
parent cf9e6ec407
commit b2e3633e81
4 changed files with 13 additions and 11 deletions

View File

@@ -23,15 +23,15 @@
{% if g.user %}<div class="navitem">> <a href="{{ url_for('blog.new') }}">New Post</a></div>{% endif %}
<div class="navitem">> <a href="{{ url_for('blog.blog') }}">View All Posts</a></div>
{% if config["REGISTRATION"] == True %}
<div class="heading">Administration</div>
{% if g.user %}
<div class="navitem">> <a href="{{ url_for('auth.logout') }}">Log out</a></div>
{% else %}
{% if config["REGISTRATION"] == True %}
<div class="navitem">> <a href="{{ url_for('auth.register') }}">Register</a></div>
{% endif %}
<div class="navitem">> <a href="{{ url_for('auth.register') }}">Register</a></div>
<div class="navitem">> <a href="{{ url_for('auth.login') }}">Log in</a></div>
{% endif %}
{% endif %}
</div>