aboutsummaryrefslogtreecommitdiff
path: root/forged/templates/500.tmpl
blob: 38603d58057bf35f17d405f3f41fdcac40c61f70 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

{{/*
	SPDX-License-Identifier: AGPL-3.0-only
	SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
*/}}
{{- define "500" -}}
<!DOCTYPE html>
<html lang="en">
	<head>
		{{- template "head_common" . -}}
		<title>500 Internal Server Error &ndash; {{ .global.forge_title }}</title>
	</head>
	<body class="500">
		{{- template "header" . -}}
		<main>
			<div class="padding-wrapper complete-error-page">
				<h1>500 Internal Server Error</h1>
				<p>{{- .complete_error_msg -}}</p>
			</div>
		</main>
		<footer>
			{{- template "footer" . -}}
		</footer>
	</body>
</html>
{{- end -}}