This repository has been archived by the owner on Mar 27, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathpost.hbs
55 lines (53 loc) · 2.34 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
{{!< default }}
{{> post/navbar }}
{{#post}}
<div class="post-image blue-grey darken-1" style="background-image: url({{ image }});"></div>
<section class="container post-container fadeIn">
<article class="card">
<header class="card-content row">
<div class="col s12 m10">
<h1>{{ title }}</h1>
{{> post/meta }}
</div>
<div class="col s12 m2">
<a href="https://twitter.com/share" target="_blank" class="waves-effect waves-light btn btn-twitter" data-via="exapmle" data-lang="de" data-dnt="true"><i class="fa fa-twitter"></i> Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
</div>
</header>
<div class="divider"></div>
<div class="row card-content">
<section class="col s12 m8 post-content">
{{ content }}
</section>
<aside class="col s12 m4">
<div class="hide-on-small-only">
{{> components/sidebar }}
</div>
</aside>
</div>
<div class="divider"></div>
<footer class="row card-content">
{{#author }}
<div class="col s12 m3">
<div class="circular-image">
<img src="{{image}}" alt="author avatar">
</div>
</div>
<div class="col s12 m9">
<h4 class="center aligned">Written by {{ name }}</h4>
<p class="center aligned">{{ bio }}</p>
</div>
{{/author}}
</footer>
<div class="divider"></div>
<section class="post-comments row card-content">
<div class="col s12">
{{> components/disqus }}
</div>
</section>
</article>
</section>
{{/post}}
{{> components/backToTop }}
{{> components/back }}
{{> footer }}