forked from rDrama/rDrama
add details and tell jinja that variables have kept themselves safe
parent
ac011a77b9
commit
ec610e99c5
|
@ -10,12 +10,16 @@
|
||||||
<div class="row justify-content-center">
|
<div class="row justify-content-center">
|
||||||
<div class="col-10 col-md-5">
|
<div class="col-10 col-md-5">
|
||||||
<div class="text-center px-3 my-8">
|
<div class="text-center px-3 my-8">
|
||||||
{% if img %}
|
{% if img -%}
|
||||||
<img alt=":#{{img}}:" loading="lazy" src="/e/{{img}}.webp">
|
<img alt=":#{{img}}:" loading="lazy" src="/e/{{img}}.webp">
|
||||||
{% endif %}
|
{%- endif %}
|
||||||
<pre></pre>
|
<pre></pre>
|
||||||
<h1 class="h5">{{code}} {{title}}</h1>
|
<h1 class="h5">{{code}} {{title}}</h1>
|
||||||
<p class="text-muted mb-5">{{msg}}</p>
|
<p class="text-muted mb-5">{{msg|safe}}</p>
|
||||||
|
{% if details -%}
|
||||||
|
<blockquote class="error-details">{{details|safe}}</blockquote>
|
||||||
|
{%- endif %}
|
||||||
|
<div><a href="/" class="btn btn-primary">Go to frontpage</a></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue