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>
|
<li><a href="${page.url}">${page.name}</a></li>
|
||||||
% endfor
|
% endfor
|
||||||
% if c.current_user:
|
% 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>
|
<li><a href="${h.url_for('/admin/logout')}">Logout</a></li>
|
||||||
% else:
|
% else:
|
||||||
<li><a href="${h.url_for('/admin/login')}">Login</a></li>
|
<li><a href="${h.url_for('/admin/login')}">Login</a></li>
|
||||||
|
Reference in New Issue
Block a user