about summary refs log tree commit diff
path: root/bskyweb/templates/error.html
blob: 08407bd773317fbede6249f9e1937f8f565794ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{% extends "base.html" %}

{% block head_title %}Error {{ statusCode }} - Bluesky{% endblock %}

{% block noscript_extra %}
  {%- if statusCode == 404 %}
    <h1>404: Not Found</h1>
  {% endif %}
{% endblock %}


{# don't include the bundle on non-404 error pages #}
{% block head_bundle %}
  {% if statusCode == 404 %}
    {{ block.Super }}
  {% else %}
  {% endif %}
{% endblock %}

{%- block body_all %}
  {% if statusCode == 404 %}
    {{ block.Super }}
  {% else %}
    <h1>{{ statusCode }}: Server Error</h1>
    <p>Sorry about that! Our <a href="https://bluesky.statuspage.io/">Status Page</a> might have more context.
  {% endif %}
{% endblock -%}