forked from peterzen/decred-ghost-theme
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdefault.decred.hbs
202 lines (185 loc) · 8.52 KB
/
default.decred.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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
<!DOCTYPE html>
<html>
<head>
{{!-- Document Settings --}}
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
{{!-- Base Meta --}}
<title>{{meta_title}}</title>
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
{{!-- Styles'n'Scripts --}}
<link rel="stylesheet" type="text/css" href="{{asset "built/screen.css"}}" />
<meta content="Decred is an autonomous digital currency. With a hybrid consensus system, it is built to be a decentralized, sustainable, and self-ruling currency where stakeholders make the rules." name="description">
<meta content="Decred - Autonomous Digital Currency" property="og:title">
<meta content="Decred is an autonomous digital currency. With a hybrid consensus system, it is built to be a decentralized, sustainable, and self-ruling currency where stakeholders make the rules." property="og:description">
<meta content="https://decred.org/ogMainSite.jpg" property="og:image">
<meta content="summary" name="twitter:card">
<meta content="width=device-width, initial-scale=1" name="viewport">
<link href="{{asset "css/normalize.css"}}" rel="stylesheet" type="text/css">
<link href="{{asset "css/components.css"}}" rel="stylesheet" type="text/css">
<link href="{{asset "css/decred-v5.css"}}" rel="stylesheet" type="text/css">
<noscript>
<link href="{{asset "css/decred-v5-nojs-edition.css"}}" rel="stylesheet" type="text/css">
</noscript>
<!-- [if lt IE 9]><script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js" type="text/javascript"></script><![endif] -->
<script type="text/javascript">
! function(o, c) {
var n = c.documentElement,
t = " w-mod-";
n.className += t + "js", ("ontouchstart" in o || o.DocumentTouch && c instanceof DocumentTouch) && (n.className += t + "touch")
}(window, document);
</script>
<link href="{{asset "images/32.png"}}" rel="shortcut icon" type="image/x-icon">
<link href="{{asset "images/256.png"}}" rel="apple-touch-icon">
<link href="{{asset "css/dataTables.css"}}" rel="stylesheet" type="text/css">
<!-- Custom favicon -->
<link rel="apple-touch-icon" sizes="180x180" href="{{asset "images/favicon/apple-touch-icon.png?v=fi5jKKtbwv"}}">
<link rel="icon" type="image/png" href="{{asset "images/favicon/favicon-32x32.png?v=fi5jKKtbwv" sizes="32x32"}}">
<link rel="icon" type="image/png" href="{{asset "images/favicon/favicon-16x16.png?v=fi5jKKtbwv" sizes="16x16"}}">
<link rel="manifest" href="{{asset "images/favicon/manifest.json?v=fi5jKKtbwv"}}">
<link rel="mask-icon" href="{{asset "images/favicon/safari-pinned-tab.svg?v=fi5jKKtbwv"}}" color="#2973ff">
<link rel="shortcut icon" href="{{asset "images/favicon/favicon.ico?v=fi5jKKtbwv"}}">
<meta name="apple-mobile-web-app-title" content="Decred - Autonomous Digital Currency">
<meta name="application-name" content="Decred - Autonomous Digital Currency">
<meta name="msapplication-TileColor" content="#2973ff">
<meta name="msapplication-TileImage" content="{{asset "images/favicon/mstile-144x144.png?v=fi5jKKtbwv"}}">
<meta name="msapplication-config" content="{{asset "images/favicon/browserconfig.xml?v=fi5jKKtbwv"}}">
<meta name="theme-color" content="#ffffff">
<style type="text/css">
.footerblockindicator {
word-break: break-all;
-ms-word-break: break-all;
-webkit-word-break: break-word;
hyphens: auto;
-webkit-hyphens: auto;
-moz-hyphens: auto;
}
.turquoise {
fill: #2ed8a3;
}
.hand {
cursor: pointer;
cursor: hand;
}
@media (min-width: 1024px) and (max-width: 1212px) {
.logo {
margin-left: -20px;
}
.slogan,
.description,
.download-wallet,
.all-downloads {
margin-left: 105px;
}
}
@media (min-width: 992px) and (max-width: 1024px) {
.front {
width: 480px;
}
.width1100 {
width: 100%;
padding-left: 60px;
padding-right: 60px;
}
/*footer*/
.footerrowscolumn1.footerblockstats,
.footerrowscolumn1.footerblockicon {
width: 20.666667%;
}
.networkstatistics {
width: 237px;
}
/*statistics*/
.statisticsminedbar.borderradius4.margin20 {
width: 100%;
}
.column.percentmined {
width: 100%;
}
.column.supplydistribution {
width: 397px;
}
.column.development {
margin-left: 23px;
padding-left: 27px;
}
}
.column {
margin-bottom: 20px;
}
</style>
<!-- Piwik -->
<script type="text/javascript">
var _paq = _paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//analytics.decred.org/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', '1']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Piwik Code -->
{{!-- This tag outputs SEO meta+structured data and other important settings --}}
{{ghost_head}}
</head>
<body class="{{body_class}}">
<div class="site-wrapper">
{{{body}}}
</div>
<div class="video-modal">
<div class="video-modal-wrapper">
<div class="w-embed w-script">
<link href="{{asset "css/mediaelementplayer.css"}}" rel="stylesheet" type="text/css">
<link href="{{asset "/css/mediaplayer-custom.css"}}" rel="stylesheet" type="text/css">
<script src="{{asset "js/mediaelement-and-player.js"}}"></script>
<script src="{{asset "js/mediaelement.js"}}"></script>
<video id="player1" width="1280" height="720" style="max-width:100%;" poster="/content/images/video_preview_img.svg" preload="none" controls="" playsinline="" webkit-playsinline="">
<source src="https://www.youtube.com/watch?v=GAMp5V_gG1E" type="video/x-youtube">
</video>
</div>
</div>
</div>
<script type="text/javascript" src="{{asset "js/jquery.min.js" type="text/javascript"}}"></script>
<script type="text/javascript" src="{{asset "js/decred-v5.js" type="text/javascript"}}"></script>
<!-- [if lte IE 9]><script src="https://cdnjs.cloudflare.com/ajax/libs/placeholders/3.0.2/placeholders.min.js"></script><![endif] -->
<script type="text/javascript" src="{{asset "js/pts.min.js"}}"></script>
<script type="text/javascript" src="{{asset "js/verge.min.js"}}"></script>
<script type="text/javascript" src="{{asset "js/underscore.min.js"}}"></script>
<script type="text/javascript" src="{{asset "js/moment.min.js"}}"></script>
<script type="text/javascript" src="{{asset "js/jquery.fitvids.js"}}"></script>
<script type="text/javascript" src="{{asset "js/jquery.cookie.js"}}"></script>
<script type="text/javascript" src="{{asset "js/jquery.dataTables.min.js"}}"></script>
<script type="text/javascript" src="{{asset "js/anime.min.js"}}"></script>
<script type="text/javascript" src="{{asset "js/platform.min.js"}}"></script>
<script type="text/javascript" src="{{asset "js/main.js"}}"></script>
<style>
html.w-mod-touch * {
background-attachment: none !important;
}
.text a,
.text a:active,
.text a:focus {
color: #69d3f5 !important;
text-decoration: none !important;
}
.text a:hover {
text-decoration: underline !important;
}
</style>
{{#if pagination.pages}}
<script>
var maxPages = parseInt('{{pagination.pages}}');
</script>
<script src="{{asset "js/infinitescroll.js"}}"></script>
{{/if}}
{{!-- The #block helper will pull in data from the #contentFor other template files. In this case, there's some JavaScript which we only want to use in post.hbs, but it needs to be included down here, after jQuery has already loaded. --}}
{{{block "scripts"}}}
{{!-- Ghost outputs important scripts and data with this tag - it should always be the very last thing before the closing body tag --}}
{{ghost_foot}}
</body>
</html>