Skip to content

Commit

Permalink
undo last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahframe committed Aug 27, 2024
1 parent 3d8862e commit 1ae7308
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions templates/500.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{% extends 'error_base.html' %}
{% load static wagtailcore_tags %}
{# defaults to 404, but pass error code and message for alternate use #}
{% firstof page_title 'Not Found' as title %}

{% block content %}
{% autoescape off %}
{% with desc="Something went wrong. Please try reloading the page, or <a href="/">return to home</a>" %}
{% endautoescape %}
{% with desc=message|default:"Something went wrong. Please try reloading the page, or return to home" %}
{% with image_src='images/cdh_500.webp' %}
{% include 'includes/error_hero.html' with title='Error 500' description=desc %}
{% endwith %}
Expand Down

0 comments on commit 1ae7308

Please sign in to comment.