rDrama/files/templates/errors/error.html

21 lines
727 B
HTML
Raw Normal View History

2022-10-11 10:22:28 +00:00
{% extends "default.html" %}
2022-11-19 22:20:38 +00:00
{% block pagetitle %}{{code}} {{title}}{% endblock %}
2022-10-11 10:22:28 +00:00
{% block pagetype %}error-{{code}}{% endblock %}
{% block content %}
2023-10-29 12:51:00 +00:00
<div class="row justify-content-center">
<div class="col-10 col-md-5">
<div class="text-center px-3 my-5">
{% if img -%}
<img alt=":#{{img}}:" loading="lazy" src="{{SITE_FULL_IMAGES}}/e/{{img}}.webp">
{%- endif %}
<h5 class=" mt-1">{{code}} {{title}}</h5>
<p class="text-muted error-description">{{msg|safe}}</p>
{% if details -%}
<blockquote class="error-details mb-4 py-2">{{details|safe}}</blockquote>
{%- endif %}
<div><a href="/" class="btn btn-primary mt-3">Go to frontpage</a></div>
</div>
2022-10-11 10:22:28 +00:00
</div>
</div>
{% endblock %}