Plume/templates/base.html.tera

37 lines
1.3 KiB
Plaintext
Raw Normal View History

2018-05-09 17:53:12 +00:00
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
2018-06-17 15:26:15 +00:00
<title>{% block title %}{% endblock title %} ⋅ {{ "Plume" | _ }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="/static/main.css" />
<link rel="stylesheet" href="/static/fontawesome-5.0.10/css/fontawesome-all.min.css" />
2018-05-09 17:53:12 +00:00
</head>
<body>
2018-05-10 20:31:52 +00:00
<header>
2018-06-17 15:26:15 +00:00
<nav id="menu"><a href="#">{{ "Menu" | _ }}</a></nav>
2018-05-10 20:31:52 +00:00
<nav>
<a href="/" class="title">{{ "Plume" | _ }}</a>
<hr/>
2018-05-10 20:31:52 +00:00
{% block header %}
{% endblock header %}
</nav>
<nav>
{% if account %}
2018-06-17 15:26:15 +00:00
<a href="/dashboard">{{ "Dashboard" | _ }}</a>
<a href="/notifications">{{ "Notifications" | _ }}</a>
<a href="/me">{{ "My account" | _ }}</a>
<a href="/logout">{{ "Log Out" | _ }}</a>
2018-05-10 20:31:52 +00:00
{% else %}
2018-06-17 15:26:15 +00:00
<a href="/login">{{ "Log In" | _ }}</a>
<a href="/users/new">{{ "Register" | _ }}</a>
2018-05-10 20:31:52 +00:00
{% endif %}
</nav>
</header>
<main>
{% block content %}
{% endblock content %}
</main>
2018-05-09 17:53:12 +00:00
</body>
</html>