<!doctype html>
<html>
  <head>
    {% block head %}
    <link rel="stylesheet" type="text/css" href="/static/css/basic.css">
    <title>{% block title %}Now at hackerspace{% endblock %}</title>
    {% endblock %}
  </head>
  <body>
    {% block body %}
      <div class="login">
      {% if session.login %}
        logged in as {{ session.login }} | 
        <a href="account">account</a> | 
        <a href="logout">log out</a>
      {% else %}
      <a href="login">login</a> | <a href="register">register</a>
      {% endif %}
      </div>
      {% block content %}
      {% endblock %}
    {% endblock %}
  </body>
</html>
