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

This commit is contained in:
Ginger
2026-02-28 20:32:46 -05:00
parent 9515019641
commit 3d50af0943
14 changed files with 194 additions and 65 deletions
+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 -%}