-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherror-404.hbs
More file actions
executable file
·50 lines (46 loc) · 1.22 KB
/
error-404.hbs
File metadata and controls
executable file
·50 lines (46 loc) · 1.22 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{{!--
This error template is used for all 404 errors, which might occur on your site.
It's a good idea to keep this template as minimal as possible in terms of both file size and complexity.
--}}
<!DOCTYPE html>
<html lang="{{@site.locale}}">
<head>
{{!-- Document Settings --}}
<meta charset="utf-8">
{{!-- Base Meta --}}
<title>{{t "ERROR"}}: {{statusCode}}</title>
<meta name="robots" content="none">
<meta name="HandheldFriendly" content="True">
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
>
<meta name="format-detection" content="telephone=no">
<meta name="format-detection" content="email=no">
{{!-- Styles --}}
<style>
html, body {
height: 100%;
width: 100%;
}
body {
margin: 0;
display: table;
background-color: #ECF0F1;
color: #2c3e50;
}
main {
display: table-cell;
text-align: center;
vertical-align: middle;
}
</style>
</head>
<body>
<main>
<h1 class="error-code">{{t "ERROR"}}: {{statusCode}}</h1>
<p class="error-des">{{message}}</p>
<a class="error-link" href="{{@site.url}}">{{t "Go to the front page"}} →</a>
</main>
</body>
</html>