first version
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{ .error_code }}</title>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Libre+Barcode+128+Text&family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap" rel="stylesheet">
|
||||
<style>
|
||||
html, body {
|
||||
height: 100%;
|
||||
}
|
||||
body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
font-family: "Titillium Web", sans-serif;
|
||||
font-weight: 400;
|
||||
font-size: 24px;
|
||||
color-scheme: light dark;
|
||||
background-color: Canvas;
|
||||
color: CanvasText;
|
||||
}
|
||||
h1 {
|
||||
font-family: "Libre Barcode 128 Text", system-ui;
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
font-size: 72px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="center">
|
||||
<h1>{{ .error_code }}</h1>
|
||||
<p>{{ .error_message }}</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,46 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>gitea pages</title>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Libre+Barcode+128+Text&family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap" rel="stylesheet">
|
||||
<style>
|
||||
html, body {
|
||||
height: 100%;
|
||||
}
|
||||
body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
font-family: "Titillium Web", sans-serif;
|
||||
font-weight: 400;
|
||||
font-size: 24px;
|
||||
color-scheme: light dark;
|
||||
background-color: Canvas;
|
||||
color: CanvasText;
|
||||
}
|
||||
h1 {
|
||||
font-family: "Libre Barcode 128 Text", system-ui;
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
font-size: 72px;
|
||||
}
|
||||
a {
|
||||
color: CanvasText;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="center">
|
||||
<h1>gitea pages</h1>
|
||||
<p>usage: repo.user.{{ .root_domain }}</p>
|
||||
<a href="https://git.mi6e4ka.dev/mi6e4ka/gitea-pages"><small>source</small></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user