-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpost.hbs
More file actions
40 lines (33 loc) · 1.26 KB
/
post.hbs
File metadata and controls
40 lines (33 loc) · 1.26 KB
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
{{!< default}}
{{#post}}
<article class="post post-full {{post_class}}">
<header class="post__header m-b-lg">
<h1 class="post__title h1">{{title}}</h1>
<div class="post__meta">
<!-- * **********************
*
* TODO
* : add #save button
* : see tutorial-snippets/save-button.html
*
*********************** -->
<em class="post__meta__date">{{ date }}</em>
{{#if tags}}
<em class="post__meta__tags">{{tags}}</em>
{{/if}}
</div>
</header>
<div class="post__content p-b-xlg m-b-lg">
{{ content }}
</div>
<footer class="post__footer p-b-md m-b-lg">
{{> post-share}}
{{> subscribe}}
{{> post-suggestions}}
</footer>
{{> disqus}}
</article>
<script src="{{asset "built/post.js"}}"></script>
<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>
{{/post}}