add a link at the top of the page to the "Most Recent Posts" page

This commit is contained in:
jieun 2017-04-04 17:52:36 -04:00
parent f8ee6f741e
commit d97090d40c
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@
<a class="brand" href="{{ url_for('index') }}">microblog</a>
<ul class="nav">
<li><a href="{{ url_for('index') }}">{{ _('Home') }}</a></li>
<li><a href="{{ url_for('allposts') }}">{{ _('Most Recent Posts') }}</a></li>
{% if g.user.is_authenticated %}
<li><a href="{{ url_for('user', nickname=g.user.nickname) }}">{{ _('Your Profile') }}</a></li>
<li><a href="{{ url_for('logout') }}">{{ _('Logout') }}</a></li>