-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpost.hbs
executable file
·53 lines (40 loc) · 2.46 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
{{!< default}}
{{#post}}
{{! Article | Post wrap: }}<article role="article" itemscope itemtype="http://schema.org/BlogPosting" class="postwrap_nix">
{{! Article header:/ }}<header class="titlewrap_nix">
{{! Article headline:/ }}<h2 class="posttitle_nix" itemprop="headline"><a href="{{{url}}}" rel="bookmark">{{{title}}}</a></h2>
{{! Post top: }}<div class="posttop_nix nixclear">
{{! Post info: }}<div class="postinfo_nix">
{{! Article time:/ }}<time datetime="{{date format="YYYY-MM-DD"}}" itemprop="datePublished"><i class="nix_icon-calendar"></i>{{date format='MM.DD.YYYY'}}</time>
</div>{{! /Post info }}
</div>{{! /Post top }}
</header>{{! /Article header }}
{{! Article body: }}<div class="postinner_nix nixclear" itemprop="articleBody">
{{{content}}}
<hr />
{{#if tags}}
<p class="tags_nix"><i class="nix_icon-tag"></i> {{tags separator=", "}}</p>
{{/if}}
<h6 class="share_nix">Sharing is caring </h6>
<ul class="sharepost">
<li><a class="share_nix nix_icon-twitter" target="_blank" href="http://twitter.com/share?text={{title}}&url={{url absolute="true"}}"><span class="nixhidethis">Twitter</span></a></li>
<li><a class="share_nix nix_icon-facebook" target="_blank" href="https://www.facebook.com/sharer/sharer.php?u={{url absolute="true"}}"><span class="nixhidethis">Facebook</span></a></li>
<li><a class="share_nix nix_icon-gplus" target="_blank" href="https://plus.google.com/share?url={{url absolute="true"}}"><span class="nixhidethis">Google+</span></a></li>
</ul>
</div>{{! /Article body }}
{{! Post bottom:/ }}<div class="postbottom_nix"></div>
</article>{{! /Article | Post wrap }}
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_shortname = 'designhappiness';
var disqus_identifier = '{{post.id}}'; // make sure to use the post.id as an identifier, otherwise disqus will use the pages url per default, which might be problematic...
/* * * 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>
{{/post}}