bsky-app/bskyweb/templates/error.html
Paul Frazee 8d2e649b4d Create build step for the web server (#289)
* Create build step for the web server

* Update bskyweb routes and 404 behavior
2023-03-14 17:30:15 -05:00

27 lines
No EOL
647 B
HTML

{% 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 %}
{{ super() }}
{% else %}
{% endif %}
{% endblock %}
{%- block body_all %}
{% if statusCode == 404 %}
{{ 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 -%}