-
Notifications
You must be signed in to change notification settings - Fork 0
/
homepage_layout.hbs
58 lines (50 loc) · 1.85 KB
/
homepage_layout.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
<!DOCTYPE html>
<html>
<head>
{{> meta}}
</head>
<body class="{{body_class}}">
<header class="header" {{#if @blog.cover}}style="background-image: url({{@blog.cover}})"{{/if}}>
<h1 class="header__logo">
<a class="blog-logo" href="{{@blog.url}}">
{{#if @blog.logo}}
<img src="{{@blog.logo}}" alt="{{@blog.title}}" />
{{else}}
<img src="{{asset "/img/logo.svg"}}" alt="BartJS">
{{/if}}
</a>
</h1>
{{navigation}}
<section class="header__hero">
<h2>{{@blog.title}}</h2>
<p>{{@blog.description}}</p>
<div class="socialMediaBox">
<div class="fb-like" data-href="https://www.facebook.com/bartjs.io" data-layout="button_count" data-action="like" data-size="large" data-show-faces="false" data-share="true"></div>
<a href="https://twitter.com/_bartjs"
class="twitter-follow-button"
data-show-screen-name="false"
data-size="large"
data-show-count="true">Follow @_bartjs</a>
</div>
</section>
</header>
{{! Everything else gets inserted here }}
{{{body}}}
{{> footer}}
{{! Ghost outputs important scripts and data with this tag }}
{{ghost_foot}}
{{! The main JavaScript file for Casper }}
<script type="text/javascript">
hljs.initHighlightingOnLoad();
</script>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.8&appId=129421927115815";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
</body>
</html>