mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 05:04:27 +00:00
24 lines
644 B
HTML
24 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 %}
|