<!doctype html>
<html>
    <head>
      {% if title %}
      <title>{{ title }} | Cat or Not</title>
      {% else %}
      <title>Cat or Not</title>
      {% endif %}
      <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
    </head>
    <body>
      {% with messages = get_flashed_messages() %}
        {% if messages %}
          <ul>
              {% for message in messages %}
                <li>{{ message }}</li>
              {% endfor %}
          </ul>
        {% endif %}
      {% endwith %}
        {% block content %}{% endblock %}
    </body>
</html>