Plume/templates/base.html.tera

35 lines
1.1 KiB
Plaintext
Raw Normal View History

2018-05-09 19:53:12 +02:00
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>{% block title %}{% endblock title %} ⋅ Plume</title>
2018-05-12 19:59:38 +02:00
<meta name="viewport" content="width=device-width, initial-scale=1">
2018-05-10 20:01:16 +02:00
<link rel="stylesheet" href="/static/main.css">
2018-05-09 19:53:12 +02:00
</head>
<body>
2018-05-10 22:31:52 +02:00
<header>
2018-05-12 19:59:38 +02:00
<nav id="menu"><a href="#">Menu</a></nav>
2018-05-10 22:31:52 +02:00
<nav>
<a href="/">Plume</a>
{% block header %}
{% endblock header %}
</nav>
<nav>
{% if account %}
2018-06-10 19:55:08 +02:00
<a href="/dashboard">Dashboard</a>
2018-05-10 22:31:52 +02:00
<a href="/notifications">Notifications</a>
<a href="/me">My account</a>
<a href="/logout">Log Out</a>
{% else %}
<a href="/login">Log In</a>
<a href="/users/new">Register</a>
{% endif %}
</nav>
</header>
<main>
{% block content %}
{% endblock content %}
</main>
2018-05-09 19:53:12 +02:00
</body>
</html>