From 2d5ee7b69cbe27e7e1abef7bf3451cb6455c4387 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 15 May 2024 12:44:03 +0200 Subject: feat: render HTML error pages --- frontend/templates/blocks/error.gotmpl | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 frontend/templates/blocks/error.gotmpl (limited to 'frontend/templates/blocks/error.gotmpl') diff --git a/frontend/templates/blocks/error.gotmpl b/frontend/templates/blocks/error.gotmpl new file mode 100644 index 0000000..1352b2e --- /dev/null +++ b/frontend/templates/blocks/error.gotmpl @@ -0,0 +1,6 @@ +{{- define "main" }} +
+ {{ .Code }} + {{ .Message }} +
+{{- end }} -- cgit 1.4.1