From 5e4f85a2c5b6928008784a7847dc053a7d697f2a Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Fri, 19 Nov 2021 17:36:02 -0600 Subject: [PATCH] Update errors template --- errors/index.html | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/errors/index.html b/errors/index.html index 1faf6b3..26dcecc 100644 --- a/errors/index.html +++ b/errors/index.html @@ -1,27 +1,28 @@ {{ $code := placeholder "http.error.status_code" -}} {{ $text := placeholder "http.error.status_text" -}} +{{ $full_text := printf "%s %s" (placeholder "http.error.status_code") (placeholder "http.error.status_text") -}} {{ $host := placeholder "http.request.host" -}} {{ $img_url := (printf "https://errors.boba.best/%s.jpg" $code) -}} - {{ $code }} {{ $text }} + {{ $full_text }} - - + + - - + + - - + +
-

{{ $code }} {{ $text }}

+

{{ $full_text }}

cat