mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-05-12 13:07:50 +00:00
run formatters
This commit is contained in:
parent
df06003584
commit
71f01e6dd0
3 changed files with 7 additions and 6 deletions
|
@ -88,6 +88,7 @@ This will trigger a build of the PR which will build a docker image to be used f
|
|||
|
||||
A custom error page template can be served by creating `custom/error.html`.
|
||||
Data available to the template includes:
|
||||
|
||||
- `{{ .StatusCode }}`: The HTTP status code (e.g. 404)
|
||||
- `{{ .StatusText }}`: The textual name associated with the status code (e.g. Not Found)
|
||||
- `{{ .Message }}`: The reason for the error
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue