From 2ae22a271b28c502d64b506b1ccc13889b38cca2 Mon Sep 17 00:00:00 2001 From: Kharec Date: Sun, 28 Dec 2025 17:48:05 +0100 Subject: [PATCH] feat: use shared layout --- templates/404.html.ep | 35 +++++------------------------------ templates/500.html.ep | 35 +++++------------------------------ 2 files changed, 10 insertions(+), 60 deletions(-) diff --git a/templates/404.html.ep b/templates/404.html.ep index db9a086..c122d82 100644 --- a/templates/404.html.ep +++ b/templates/404.html.ep @@ -1,32 +1,7 @@ - - - - 404 Not Found - - - - - +% layout 'default'; +% stash title => '404 Not Found'; +

404 Not Found

The requested short link was not found.

- - + Back to home +
diff --git a/templates/500.html.ep b/templates/500.html.ep index 62a3581..fcffd6a 100644 --- a/templates/500.html.ep +++ b/templates/500.html.ep @@ -1,32 +1,7 @@ - - - - 500 Internal Server Error - - - - - +% layout 'default'; +% stash title => '500 Internal Server Error'; +

500 Internal Server Error

An error occurred while processing your request.

- - + Back to home +