From 3d3e0b0d23f4db0734e1c941f4eb34d37d4d8016 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Mon, 18 Apr 2022 11:04:35 +0200 Subject: [PATCH] Make the message variable in gandalf_forbid layout --- content/error/401.md | 1 + content/error/403.md | 1 + content/error/405.md | 1 + content/error/407.md | 1 + content/error/410.md | 1 + content/error/429.md | 1 + layouts/_default/gandalf_forbid.html | 2 +- 7 files changed, 7 insertions(+), 1 deletion(-) diff --git a/content/error/401.md b/content/error/401.md index cafd013..9a70b67 100644 --- a/content/error/401.md +++ b/content/error/401.md @@ -2,3 +2,4 @@ title: 401 Unauthorized layout: gandalf_forbid --- +You shall not pass! diff --git a/content/error/403.md b/content/error/403.md index 6d56caf..1cd0815 100644 --- a/content/error/403.md +++ b/content/error/403.md @@ -2,3 +2,4 @@ title: 403 Forbidden layout: gandalf_forbid --- +You shall not pass! diff --git a/content/error/405.md b/content/error/405.md index 123b692..d5bce35 100644 --- a/content/error/405.md +++ b/content/error/405.md @@ -2,3 +2,4 @@ title: 405 Method Not Allowed layout: gandalf_forbid --- +You shall not pass! diff --git a/content/error/407.md b/content/error/407.md index d098e9a..aab195a 100644 --- a/content/error/407.md +++ b/content/error/407.md @@ -2,3 +2,4 @@ title: 407 Proxy Authentication Required layout: gandalf_forbid --- +You shall not pass! diff --git a/content/error/410.md b/content/error/410.md index 5d615aa..63488db 100644 --- a/content/error/410.md +++ b/content/error/410.md @@ -2,3 +2,4 @@ title: 410 Gone layout: missing --- +You shall not pass! diff --git a/content/error/429.md b/content/error/429.md index 7f6ee84..1f280a1 100644 --- a/content/error/429.md +++ b/content/error/429.md @@ -2,3 +2,4 @@ title: 429 Too Many Requests layout: gandalf_forbid --- +You shall not pass! diff --git a/layouts/_default/gandalf_forbid.html b/layouts/_default/gandalf_forbid.html index 9ba3708..7c867ae 100644 --- a/layouts/_default/gandalf_forbid.html +++ b/layouts/_default/gandalf_forbid.html @@ -5,7 +5,7 @@ {{ define "main" }}

{{ .Title }}

-

You shall not pass!

+

{{ .Content }}