Plume/templates/base.tera

33 lines
1 KiB
Text

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>{% block title %}{% endblock title %} ⋅ Plume</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="/static/main.css">
</head>
<body>
<header>
<nav id="menu"><a href="#">Menu</a></nav>
<nav>
<a href="/">Plume</a>
{% block header %}
{% endblock header %}
</nav>
<nav>
{% if account %}
<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>
</body>
</html>