-
Notifications
You must be signed in to change notification settings - Fork 0
/
error.hbs
executable file
·69 lines (62 loc) · 1.98 KB
/
error.hbs
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!doctype html>
<html>
<head>
<title>{{message}}</title>
<meta name="MobileOptimized" content="320">
<meta name="HandheldFriendly" content="True">
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes" />
<link rel="shortcut icon" href="{{asset "favicon.ico"}}">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,700" rel="stylesheet">
<style>
body {
margin: 50px 0;
text-align: center;
}
img {
max-width: 200px;
}
h1 {
font-size: 100px;
font-family: 'Open Sans', sans-serif;
font-weight: 700;
color: #616161;
margin: 0;
}
h2 {
font-family: 'Open Sans', sans-serif;
color: #757575;
font-weight: 300;
margin-top: 0;
font-size: 24px;
}
#home-link {
font-size: 19px;
font-family: 'Open Sans', sans-serif;
font-weight: normal;
color: #2196F3;
}
@media only screen and (max-width:500px) {
body {
margin-top: 30px;
}
img {
max-width: 130px;
}
h1 {
font-size: 70px;
}
h2, #home-link {
font-size: 18px;
font-weight: normal;
}
}
</style>
</head>
<body>
<a href="{{@blog.url}}"><img src="{{asset "img/error.png"}}"></a>
<h1>{{code}}</h1>
<h2>{{message}}</h2>
<p><a id="home-link" href="{{@blog.url}}">Go to the home page?</a></p>
</body>
</html>