mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-15 11:14:28 +00:00
25 lines
644 B
HTML
25 lines
644 B
HTML
|
{% extends "layout.html" %}
|
||
|
{% import 'utils.html' as utils %}
|
||
|
{% block title %}{{code}} {{status_text}} - {{ config.NAME }}{% endblock %}
|
||
|
{% block header %}
|
||
|
{% endblock %}
|
||
|
{% block content %}
|
||
|
<div id="container">
|
||
|
{% if not request.path.startswith('/admin') %}
|
||
|
{% include "header.html" %}
|
||
|
{% endif %}
|
||
|
<main>
|
||
|
<h1>{{code}} {{status_text}}</h1>
|
||
|
<p>Something went wrong :(</p>
|
||
|
{% if tb %}
|
||
|
<div style="margin:50px 0;">
|
||
|
<p>Please consider <a href="https://github.com/tsileo/microblog.pub/issues/new">opening an issue on GitHub</a>.<br>Here is the traceback:</p>
|
||
|
<code><pre>
|
||
|
{{ tb }}
|
||
|
</pre></code>
|
||
|
</div>
|
||
|
{% endif %}
|
||
|
</main>
|
||
|
</div>
|
||
|
{% endblock %}
|