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

This commit is contained in:
Ginger committed 2026-03-18 12:42:55 -04:00
1 parent 9515019641
commit 3d50af0943
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 -%}