Added easier link to new posts, for logged in users.
This commit is contained in:
parent
35ece0ef38
commit
75b679b23a
@ -20,6 +20,7 @@
|
||||
<li><a href="${page.url}">${page.name}</a></li>
|
||||
% endfor
|
||||
% if c.current_user:
|
||||
<li><a href="${h.url_for('/post/new')}">New</a></li>
|
||||
<li><a href="${h.url_for('/admin/logout')}">Logout</a></li>
|
||||
% else:
|
||||
<li><a href="${h.url_for('/admin/login')}">Login</a></li>
|
||||
|
Reference in New Issue
Block a user