-
Notifications
You must be signed in to change notification settings - Fork 0
/
error.hbs
90 lines (79 loc) · 2.36 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!DOCTYPE html>
<html>
<head>
{{!-- Document Settings --}}
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
{{!-- Page Meta --}}
<title>{{statusCode}} {{message}}</title>
{{!-- Mobile Meta --}}
<meta name="HandheldFriendly" content="True">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{{!-- Brand icon --}}
<link rel="shortcut icon" href="{{asset "favicon.ico"}}">
<link rel="mask-icon" href="{{asset "images/mask-icon.svg"}}" color="#4bb6f6">
<meta name="theme-color" content="#4bb6f6">
{{!-- Styles'n'Scripts --}}
{{!-- Base styles --}}
<link rel="stylesheet" href="{{asset "css/style.css"}}">
{{!-- Roboto Slab --}}
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Fira+Mono&family=Roboto+Slab:wght@400;700&display=swap">
{{!-- Improved mailto links --}}
<script src="{{asset "js/mailgo.min.js"}}" defer></script>
</head>
<body class="errorpage errorpage-{{statusCode}}">
{{!-- Theme --}}
<script src="{{asset "js/theme-toggle.js"}}"></script>
{{!-- IE disclaimer --}}
<!--[if lte IE 10]>
<div class="incompatible" style="font-size: 20px; color: #e00; padding: 40px">
You are using a terrible web browser. Things may look wonky. Please upgrade to a better browser.
</div>
<script src="assets/REM-unit-polyfill/js/rem.min.js" type="text/javascript"></script>
<![endif]-->
{{!-- The blog navigation links --}}
<nav class="navigation">
<div class="brand">
{{#if @site.logo}}
<a href="{{@site.url}}"><img class="logo" src="{{@site.logo}}" alt="{{@site.title}}" height="48" /></a>
{{else}}
{{@site.title}}
{{/if}}
</div>
{{navigation}}
</nav>
<main>
<section class="errorpage-primary">
<h1>
Oh no! {{message}}
</h1>
<p>
Go <a href="javascript:window.history.back()">backwards</a> or visit the <a href="/">homepage</a>
</p>
</section>
</main>
{{!-- The blog footer --}}
<footer class="footer">
<div class="footer-flex">
<div class="footer-left">
<div class="group">
<div class="brand">
<span class="name">{{@site.title}}</span>
</div>
</div>
<div class="group">
{{navigation type="secondary"}}
</div>
<div class="group">
{{> navigation-social}}
</div>
</div>
<div class="footer-right">
<div class="group">
{{> theme-toggle}}
</div>
</div>
</div>
</footer>
</body>
</html>