<!doctype html> <html> <head> <link rel="stylesheet" href="{{ url_for('static', filename='simple.css') }}"> {% if title %} <title>{{ title }}</title> {% else %} <title>oily page</title> {% endif %} </head> <body> <header> <nav> <a {% block indexcurrent %}{% endblock %} href="{{ url_for('index') }}">home</a> <a {% block explorecurrent %}{% endblock %} href="{{ url_for('explore') }}">explore</a> {% if current_user.is_anonymous %} <a {% block logincurrent %}{% endblock %} href="{{ url_for('login') }}">login</a> {% else %} <a {% block profilecurrent %}{% endblock %} href="{{ url_for('user', username=current_user.username) }}">profile</a> <a href="{{ url_for('logout') }}">logout</a> {% endif %} <a style="float: right;" href="https://gut.oily.dad/explore/repos"> <img style="vertical-align: middle; height: 22px" src="https://gut.oily.dad/assets/img/logo.svg" alt="Logo" aria-hidden="true"> </a> </nav> <h2>oily.dad</h2> </header> <hr> {% with messages = get_flashed_messages() %} {% if messages %} <ul> {% for message in messages %} <p class="notice">{{ message }}</p> {% endfor %} </ul> {% endif %} {% endwith %} {% block content %}{% endblock %} </body> </html>