{% extends 'base.html' %}

{% block title %} - 404!{% endblock %}

{% block main %}
<div class="container">
  <div class="alert alert-warning" role="alert">
    <h4 class="alert-heading">Not found!</h4>
    {% if error %}
    <p>{{ error }}.</p>
    {% else %}
    <p>The page you are looking for does not exist.</p>
    {% endif %}
    <hr>
    <div class="text-end">
      <a class="btn btn-primary" href="{{ url_for('index.index') }}" role="button"><i class="ri-home-line"></i> Home</a>
    </div>
  </div>
</div>
{% endblock %}