feature: Switch to twig for template engine
This commit is contained in:
Keith Solomon
2025-05-23 06:41:48 -05:00
parent 5e327b9b59
commit 54de77e544
11 changed files with 86 additions and 432 deletions

7
views/error.twig Normal file
View File

@@ -0,0 +1,7 @@
{% extends 'layout.twig' %}
{% block body %}
<h1>{{message}}</h1>
<h2>{{error.status}}</h2>
<pre>{{error.stack}}</pre>
{% endblock %}