forked from godofredoninja/simply
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patherror.hbs
81 lines (66 loc) · 2.69 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
<!DOCTYPE html>
<html lang="{{@site.lang}}">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<title>{{t "Page not found"}}</title>
{{!-- Font Source sans Pro && roboto mono --}}
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono|Source+Sans+Pro:400,600,700&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="{{asset "styles/main.css"}}" />
{{!-- Ghost outputs important style and meta data with this tag --}}
{{ghost_head}}
</head>
<body class="u-bgWhite">
{{!-- Icons --}}
{{> "icons/icons-symbol-defs"}}
{{!-- Header Content --}}
{{>"header"}}
<main class="u-paddingBottom30 u-paddingTop30">
{{!-- Content Emojis --}}
<section class="errorPage u-lineHeight1">
<div class="errorPage-wrap u-marginAuto u-maxWidth1000 u-textAlignCenter">
<div id="emoji" class="errorPage-emoji" style="font-size:100px">(>_<)</div>
<div class="errorPage-text">{{t "Unfortunately, this page doesn't exist"}}</div>
</div>
</section>
{{!-- Articles style Card --}}
{{#get "posts" limit="6" as |recents| }}
<div class="u-bgWhite u-paddingTop30 u-paddingBottom20">
<div class="u-container u-maxWidth1040">
<div class="row">
{{#foreach recents}}
<div class="col s12 m6 l4 u-flex">
{{!-- Meta - partials/story/story-card-small.hbs --}}
{{> "story/story-card-small"}}
</div>
{{/foreach}}
</div>
</div>
</div>
{{/get}}
</main>
{{!-- Search box --}}
{{>"widget/search"}}
<script>
var emoji = ['(·.·)', '(>_<)', '(^-^*)', '(≥o≤)', '(˚Δ˚)', '(·_·)', '(;-;)']
var emojiRandom = emoji[Math.floor(Math.random()*emoji.length)];
document.getElementById('emoji').innerHTML = emojiRandom;
</script>
{{!-- Ghost outputs important scripts and data with this tag --}}
{{ghost_foot}}
{{!-- Footer Content --}}
{{>"footer"}}
{{!-- Back to top --}}
<div class="back-to-top js-back-to-top u-hide-before-lg u-pointer u-fixed">
{{> "icons/arrow-top"}}
<p class="back-to-top-text u-fontSizeBase u-fontWeightSemibold">{{t "INDEX"}}</p>
</div>
{{!-- Blog URL --}}
<script>
var siteUrl = '{{@site.url}}';
var siteSearch = '{{asset "scripts/search.js"}}';
</script>
{{!-- Main scripts --}}
<script src="{{asset "scripts/main.js"}}" defer async></script>
</body>
</html>