12 lines
644 B
HTML
12 lines
644 B
HTML
{% extends 'templates/base.html' %}
|
|
{% block title %}{{super()}} | {% if code %}{{code}} {% endif %}Error{% endblock %}
|
|
|
|
{% block main %}
|
|
<section class='container'>
|
|
<h2>⛔️ {% if code %}{{code}} {% endif %}{% if message %}{{message}}{% endif %}</h2>
|
|
{% if stack %}<p>{{stack}}</p>{% else %}
|
|
{% if code == '404' %}<p>This page does not exist. Maybe you followed a dead link here. </p>
|
|
{% else %}<p>Would you please <a href="https://github.com/Tracman-org/Server/issues/new">report this error</a>? </p>{% endif %}
|
|
{% if code %}<img style="width:100%" src="https://http.cat/{{code}}.jpg">{% endif %}{% endif %}
|
|
</section>
|
|
{% endblock %} |