Skip to content
Myr

base.html

This file

Path

examples/tutorial/flaskr/templates/base.html

24 lines · 752 bytes · HTML

Last changed by

Not known.

History of this file

Take it

The walk stopped after 200 commits: lines older than 18a7751 point at it.

Merge pull request #3648 from pallets/dependabot/pip/pip-tools-5.2.1dependabot-preview[bot]before adoption18a7751

lines 1–24why, one step back
1<!doctype html>
2<title>{% block title %}{% endblock %} - Flaskr</title>3<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">4<nav>5 <h1><a href="{{ url_for('index') }}">Flaskr</a></h1>6 <ul>7 {% if g.user %}8 <li><span>{{ g.user['username'] }}</span>9 <li><a href="{{ url_for('auth.logout') }}">Log Out</a>10 {% else %}11 <li><a href="{{ url_for('auth.register') }}">Register</a>12 <li><a href="{{ url_for('auth.login') }}">Log In</a>13 {% endif %}14 </ul>15</nav>16<section class="content">17 <header>18 {% block header %}{% endblock %}19 </header>20 {% for message in get_flashed_messages() %}21 <div class="flash">{{ message }}</div>22 {% endfor %}23 {% block content %}{% endblock %}24</section>