From aaef37882b79702db2a6df6ce97139951a3f2026 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Sat, 18 Sep 2021 21:25:26 -0500 Subject: [PATCH] Add embed to error page & use variables --- errors/index.html | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/errors/index.html b/errors/index.html index 2aaea9c..06457e3 100644 --- a/errors/index.html +++ b/errors/index.html @@ -1,11 +1,26 @@ +{{ $code := placeholder "http.error.status_code" }} +{{ $text := placeholder "http.error.status_text" }} - {{placeholder "http.error.status_code"}} {{placeholder "http.error.status_text"}} + {{ $code }} {{ $text }} + + + + + + + + + + + + +
-

{{placeholder "http.error.status_code"}} {{placeholder "http.error.status_text"}}

- cat +

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

+ cat