Skip to content

Commit e8037f8

Browse files
committed
Add template for handling 500 errors
Signed-off-by: Keshav Priyadarshi <git@keshav.space>
1 parent 6b15f0b commit e8037f8

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

fedcode/templates/500.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{% extends "base.html" %}
2+
3+
{% block title %}
4+
Something Went Wrong
5+
{% endblock %}
6+
7+
{% block content %}
8+
<section class="hero is-medium is-dark">
9+
<div class="hero-body">
10+
<div class="container has-text-centered">
11+
<h1 class="title is-1 pb-2">
12+
Oops! Something went wrong.
13+
</h1>
14+
<p class="subtitle is-4">
15+
We're experiencing some technical issues at the moment. Please try again later.
16+
</p>
17+
<a href="{% url 'purl-list' %}" class="button is-info">Explore available packages</a>
18+
</div>
19+
</div>
20+
</section>
21+
{% endblock %}

0 commit comments

Comments
 (0)