2022-10-11 10:22:28 +00:00
|
|
|
{% extends "default.html" %}
|
2024-05-16 19:22:56 +00:00
|
|
|
{% block pagetitle %}{{title}}{% endblock %}
|
|
|
|
{% block pagetype %}error{% endblock %}
|
2022-10-11 10:22:28 +00:00
|
|
|
{% block content %}
|
2023-10-29 12:51:00 +00:00
|
|
|
<div class="row justify-content-center">
|
|
|
|
<div class="col-10 col-md-5">
|
2024-05-16 19:02:33 +00:00
|
|
|
<div class="text-center px-3 my-5">
|
2023-10-29 12:51:00 +00:00
|
|
|
{% if img -%}
|
|
|
|
<img alt=":#{{img}}:" loading="lazy" src="{{SITE_FULL_IMAGES}}/e/{{img}}.webp">
|
|
|
|
{%- endif %}
|
2024-05-16 20:17:52 +00:00
|
|
|
<h5 class="mt-2">{{title}}</h5>
|
2023-10-29 12:51:00 +00:00
|
|
|
<p class="text-muted error-description">{{msg|safe}}</p>
|
|
|
|
{% if details -%}
|
|
|
|
<blockquote class="error-details mb-4 py-2">{{details|safe}}</blockquote>
|
|
|
|
{%- endif %}
|
2024-05-16 20:17:52 +00:00
|
|
|
{% if title == 'THIS IS AN 18+ WEBSITE' %}
|
|
|
|
<div><a href="/contact" class="btn btn-primary mt-1">Contact Admins</a></div>
|
2024-05-16 21:12:28 +00:00
|
|
|
<script defer src="{{'js/underage.js' | asset}}"></script>
|
2024-05-16 20:17:52 +00:00
|
|
|
{% else %}
|
|
|
|
<div><a href="/" class="btn btn-primary mt-3">Go to frontpage</a></div>
|
|
|
|
{% endif %}
|
2023-10-29 12:51:00 +00:00
|
|
|
</div>
|
2022-10-11 10:22:28 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|