Make the message variable in gandalf_forbid layout

This commit is contained in:
ItsDrike 2022-04-18 11:04:35 +02:00
parent 0283cec940
commit 3d3e0b0d23
No known key found for this signature in database
GPG key ID: B014E761034AF742
7 changed files with 7 additions and 1 deletions

View file

@ -2,3 +2,4 @@
title: 401 Unauthorized title: 401 Unauthorized
layout: gandalf_forbid layout: gandalf_forbid
--- ---
You shall not pass!

View file

@ -2,3 +2,4 @@
title: 403 Forbidden title: 403 Forbidden
layout: gandalf_forbid layout: gandalf_forbid
--- ---
You shall not pass!

View file

@ -2,3 +2,4 @@
title: 405 Method Not Allowed title: 405 Method Not Allowed
layout: gandalf_forbid layout: gandalf_forbid
--- ---
You shall not pass!

View file

@ -2,3 +2,4 @@
title: 407 Proxy Authentication Required title: 407 Proxy Authentication Required
layout: gandalf_forbid layout: gandalf_forbid
--- ---
You shall not pass!

View file

@ -2,3 +2,4 @@
title: 410 Gone title: 410 Gone
layout: missing layout: missing
--- ---
You shall not pass!

View file

@ -2,3 +2,4 @@
title: 429 Too Many Requests title: 429 Too Many Requests
layout: gandalf_forbid layout: gandalf_forbid
--- ---
You shall not pass!

View file

@ -5,7 +5,7 @@
{{ define "main" }} {{ define "main" }}
<div id="main" class="wrapper_forbid"> <div id="main" class="wrapper_forbid">
<h1>{{ .Title }}</h1> <h1>{{ .Title }}</h1>
<p>You shall not pass!</p> <p>{{ .Content }}</p>
<svg <svg
viewbox="0 0 100 150" viewbox="0 0 100 150"