From 8d6898a36e2879bc3e1aef95db2a44c10187169e Mon Sep 17 00:00:00 2001 From: Joe Mou Date: Thu, 10 Sep 2026 14:57:44 -0400 Subject: Render the error page in the shared page shell error.eta carried its own copy of the HTML shell, so error pages missed the viewport meta tag, the build-commit footer, and the link to the original GitHub page. The renderer already passes githubUrl and buildCommit to every template, so the layout needs nothing new from app.ts. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01JZAT3YzYP85DihSvQbDKB6 --- views/error.eta | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'views/error.eta') diff --git a/views/error.eta b/views/error.eta index 784a843..a46411e 100644 --- a/views/error.eta +++ b/views/error.eta @@ -1,11 +1,3 @@ - - - - - <%= it.title ?? it.message %> - - - - <%= it.message %> - - +<% layout("/layouts/base.eta", { title: it.title ?? it.message }) %> + +<%= it.message %> -- cgit v1.3.1