Debian Codegraph @

example/templates/base.html

raw
1 <!doctype html>
2 <title>Tweepee</title>
3 <link rel=stylesheet type=text/css href="{{ url_for('static', filename='style.css') }}">
4 <div class=page>
5 <h1><a href="{{ url_for('homepage') }}">Tweepee</a></h1>
6 <div class=metanav>
7 {% if not session.logged_in %}
8 <a href="{{ url_for('auth.login') }}">log in</a>
9 <a href="{{ url_for('join') }}">join</a>
10 {% else %}
11 <a href="{{ url_for('public_timeline') }}">public timeline</a>
12 <a href="{{ url_for('create') }}">create</a>
13 <a href="{{ url_for('auth.logout') }}">log out</a>
14 {% endif %}
15 </div>
16 {% for message in get_flashed_messages() %}
17 <div class=flash>{{ message }}</div>
18 {% endfor %}
19 <h2>{% block content_title %}{% endblock %}</h2>
20 {% block content %}{% endblock %}
21 </div>