From 36351cba70c28779668b29c73b1bbc21308eaacc Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Sat, 25 Sep 2021 14:59:08 -0500 Subject: [PATCH] Use error image in embed for error pages (and use an img_url variable) --- errors/index.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/errors/index.html b/errors/index.html index 06457e3..d62e16b 100644 --- a/errors/index.html +++ b/errors/index.html @@ -1,5 +1,6 @@ {{ $code := placeholder "http.error.status_code" }} {{ $text := placeholder "http.error.status_text" }} +{{ $img_url := (printf "https://errors.boba.best/%s.jpg" $code) }} {{ $code }} {{ $text }} @@ -9,18 +10,18 @@ - + - +

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

- cat + cat