{% extends "base.htm" %}

{% block title %}🦊🐲 Yiprawr - {{ title }}{% endblock %}
{% block head %}
  <link rel="stylesheet" href="{{ url_for('static', filename='css/error.css') }}">
{% endblock %}

{% block content %}
  <main class="error">
    <h1 id="error-title" data-error-code="{{ header.title }}">{{ header.title }}</h1>
    <p>{{ header.message }}</p>

    <div id="dots">
      <div class="dot"></div>
      <div class="dot"></div>
      <div class="dot"></div>
      <div class="dot"></div>
      <div class="dot"></div>
      <div class="dot"></div>
    </div>

    <img src="{{ url_for('static', filename='images/error/' + file.name) }}" alt="{{ file.alt }}">
    <a href="{{ url_for('side_main.index') }}">Go Back to the Home Page</a>
  </main>
{% endblock %}
