|
|
@@ -23,15 +23,15 @@
|
|
23
|
23
|
{% if g.user %}<div class="navitem">> <a href="{{ url_for('blog.new') }}">New Post</a></div>{% endif %}
|
|
24
|
24
|
<div class="navitem">> <a href="{{ url_for('blog.blog') }}">View All Posts</a></div>
|
|
25
|
25
|
|
|
|
26
|
+ {% if config["REGISTRATION"] == True %}
|
|
26
|
27
|
<div class="heading">Administration</div>
|
|
27
|
28
|
{% if g.user %}
|
|
28
|
29
|
<div class="navitem">> <a href="{{ url_for('auth.logout') }}">Log out</a></div>
|
|
29
|
30
|
{% else %}
|
|
30
|
|
- {% if config["REGISTRATION"] == True %}
|
|
31
|
|
- <div class="navitem">> <a href="{{ url_for('auth.register') }}">Register</a></div>
|
|
32
|
|
- {% endif %}
|
|
|
31
|
+ <div class="navitem">> <a href="{{ url_for('auth.register') }}">Register</a></div>
|
|
33
|
32
|
<div class="navitem">> <a href="{{ url_for('auth.login') }}">Log in</a></div>
|
|
34
|
33
|
{% endif %}
|
|
|
34
|
+ {% endif %}
|
|
35
|
35
|
|
|
36
|
36
|
</div>
|
|
37
|
37
|
|