forked from nitinthewiz/ghost-phantom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
post.hbs
55 lines (47 loc) · 1.82 KB
/
post.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
{{!-- The tag below includes the header - partials/header.hbs --}}
{{> header}}
{{#post}}
<meta name="author" content="{{#author}}{{name}}{{/author}}" />
<meta name="description" content="{{excerpt characters='157'}}..." />
<meta property="og:type" content="article" />
<meta property="og:url" content="{{post_url}}" />
<meta property="twitter:url" content="{{post_url}}" />
<meta property="og:description" content="{{excerpt characters='157'}}..." />
<meta property="twitter:description" content="{{excerpt characters='157'}}..." />
{{#if image}}
<meta property="og:image" content="{{url image}}" />
<meta property="twitter:image" content="{{url image}}" />
{{/if}}
<header class="animated fadeIn" {{#if image}}style="background-image: url({{url image}})"{{/if}}>
<div class="container" data-stellar-ratio="0.75">
<div class="title animated fadeInUp">
<h1>{{title editable="true"}}</h1>
{{> share}}
</div>
{{> sidebar}}
</div>
</header>
<div class="push-article">
<article class="animated fadeIn {{post_class}}">
<div class="container">
{{content editable="true"}}
</div>
</article>
</div>
<div class="container">
<div class="author animated fadeIn clearfix">
{{#author}}
{{#if avatar}}
<img src="{{url avatar}}" alt="{{name}}" />
{{/if}}
<div class="info">
<a href="{{author_url}}" class="name">{{name}}</a>
<p class="bio">{{bio}}</p>
</div>
{{/author}}
</div>
</div>
{{!> comments}}
{{/post}}
{{!-- The tag below includes the footer - partials/footer.hbs --}}
{{> footer}}