13 lines
424 B
HTML
13 lines
424 B
HTML
{% extends 'templates/base.html' %}
|
|
{% block title %}{{ super() }} | {{ code }} Error{% endblock %}
|
|
|
|
{% block main %}
|
|
<section class='dark'>
|
|
<div class='container'>
|
|
{% if code %}<h2>{{code}}</h2>{% endif %}
|
|
{% if message %}<h3>{{message}}</h3>{% endif %}
|
|
{% if error %}<p>{{error}}</p>{% endif %}
|
|
{% if code %}<img style="width:100%" src="https://http.cat/{{code}}.jpg">{% endif %}
|
|
</div>
|
|
</section>
|
|
{% endblock %} |