diff options
author | Alan Pearce | 2024-05-15 12:44:03 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-15 12:44:03 +0200 |
commit | 2d5ee7b69cbe27e7e1abef7bf3451cb6455c4387 (patch) | |
tree | c0d321d6a9f1ea9de1447742175261ed231a3590 /frontend/templates | |
parent | 149cbe7681607eb48f47df14c7a39e6f289fb7b6 (diff) | |
download | searchix-2d5ee7b69cbe27e7e1abef7bf3451cb6455c4387.tar.lz searchix-2d5ee7b69cbe27e7e1abef7bf3451cb6455c4387.tar.zst searchix-2d5ee7b69cbe27e7e1abef7bf3451cb6455c4387.zip |
feat: render HTML error pages
Diffstat (limited to 'frontend/templates')
-rw-r--r-- | frontend/templates/blocks/error.gotmpl | 6 |
1 files changed, 6 insertions, 0 deletions
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" }} + <p class="notice error"> + {{ .Code }} + {{ .Message }} + </p> +{{- end }} |