Replace JS with Go templates for stability

This commit is contained in:
Andrew-71 2024-03-28 10:21:04 +03:00
parent 0094534b31
commit f0198a4a72
11 changed files with 353 additions and 374 deletions

17
pages/error/500.html Normal file
View file

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/x-icon" href="/public/favicon.ico">
<link rel="stylesheet" href="/public/main.css">
<title>Error 500</title>
</head>
<body>
<main>
<h1>Error 500 - Internal Server Error</h1>
<p>It's probably not your fault, but something broke</p>
<h3><a href="/">Go home?</a></h3>
</main>
</body>
</html>