refactor: Split web code into multiple files, improve static resource loading

This commit is contained in:
Ginger authored and Ellis Git committed 2026-03-09 16:13:55 +00:00
1 parent 977a5ac8c1
commit e3010b8ca0
14 files changed
+194 -65

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
{% extends "_layout.html.j2" %}
{%- block title -%}
Server Error
{%- endblock -%}
{%- block content -%}
<h1>
{%- match err -%}
{% else -%} 500: Internal Server Error
{%- endmatch -%}
</h1>
{%- match err -%}
{% when WebError::Render(err) -%}
<pre>{{ err }}</pre>
{% else -%} <p>An error occurred</p>
{%- endmatch -%}
{%- endblock -%}