-
Notifications
You must be signed in to change notification settings - Fork 0
/
post.hbs
executable file
·82 lines (81 loc) · 4.5 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
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
{{!< default }}
{{#post}}
<main>
<div class="row">
<div class="post col s12 m12 l10 offset-l1">
<article class="card">
<div class="card-image bg-darken">
<img src="{{image_url feature_image}}">
<h2 class="card-title animated fadeInDown">
{{title}}
</h2>
</div>
<div class="card-content">
<div class="card-header">
<div class="card-meta blue-grey-text text-lighten-2">
<div class="card-tag"> {{!Tag}}
<sup class="fa fa-hashtag" aria-hidden="true"></sup>
{{#foreach tags}}
<a href="{{url}}" title="{{name}}" class="blue-grey-text text-lighten-2">{{name}}</a>,
{{/foreach}}
</div>
<time class="card-date" datetime="{{date format='YYYY-MM-DD'}}">
<span>By: {{author}}</span>
<i class="material-icons"></i>
{{date format='MMMM Do, YYYY'}}
</time>
</div>
</div>
<div class="post-p"> {{!Content here}}
{{content}}
</div>
</div>
<div class="card-action">
<a href="https://www.facebook.com/sharer/sharer.php?u={{url absolute="true"}}" class="btn-floating fb intent" data-width="580" height="235">
<i class="fa fa-facebook" aria-hidden="true"></i>
</a>
<a href="https://twitter.com/intent/tweet?text={{encode title}}&url={{url absolute="true"}}" class="btn-floating tw intent" data-width="550" data-height="235">
<i class="fa fa-twitter" aria-hidden="true"></i>
</a>
<a href="https://plus.google.com/share?url={{url absolute="true"}}" class="btn-floating gp intent" data-width="590" data-height="530">
<i class="fa fa-google-plus" aria-hidden="true"></i>
</a>
</div>
</article>
</div>
</div>
<div class="row"> {{! Previous and Next page navigation}}
<div class="col s12 m8 offset-m2">
{{#next_post}}
<a href="{{url}}" class="left">
<button class="btn-floating">
<i class="material-icons"></i>
<div class="ripple-container"></div></button>
Newer Post
</a>
{{/next_post}}
{{#prev_post}}
<a href="{{url}}" class="right">
Older Post
<button class="btn-floating">
<i class="material-icons"></i>
</button>
</a>
{{/prev_post}}
</div>
</div>
{{/post}}
<div id="disqus_thread" class="row"></div>
<script type="text/javascript">
var disqus_shortname = 'donuts-and-dragons'; // required: replace example with your forum shortname
var disqus_identifier = '{{post.id}}';
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
</main>