-
Notifications
You must be signed in to change notification settings - Fork 10
/
blogpost.html
43 lines (36 loc) · 1.48 KB
/
blogpost.html
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
{{{include "navigation.html"}}}
<div id="main">
{{#with doc}}
<h1>{{title}}</h1>
<div class="meta">
<span class="by">By</span>
<a class="author" href="{{baseURL}}/about">Caolan M<sup>c</sup>Mahon</a>
{{#if published}}<span class="date">{{pp_date}}</span>{{else}}<span class="warning">Draft</span>{{/if}}
<div class="extra">
<a href="#disqus_thread" class="comments">Comments and Reactions</a>
</div>
</div>
<div class="main">
{{{markdown_html}}}
</div>
<div id="subscribe">
<a class="feed" href="http://feeds.feedburner.com/caolan">Subscribe to this blog</a>
or
<a class="twitter" href="http://twitter.com/caolan">Follow me on Twitter</a>
</div>
<div id="disqus_thread"></div>
<script type="text/javascript">
/**
* var disqus_identifier; [Optional but recommended: Define a unique identifier (e.g. post id or slug) for this thread]
*/
var disqus_identified = '{{slug}}';
var disqus_developer = 1; // developer mode is on
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = 'http://caolanmcmahon.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=caolanmcmahon">comments powered by Disqus.</a></noscript>
{{/with}}
</div>