summaryrefslogtreecommitdiff
path: root/_layouts/post.html
blob: dc57017c33a390c1195b175d54452f8c4483cc1f (plain)
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
---
layout: master
---

<section class="article">

    <h1>{{ page.title }}</h1>

    <div class="social-buttons">

        <!-- Twitter -->
        <a href="https://twitter.com/share" class="twitter-share-button" data-via="bburwell" data-count="none" data-dnt="true">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>

        <!-- Facebook -->
        <div class="fb-share-button" data-type="button"></div>

        <!-- Flattr -->
        <script id='fbyvjgw'>
            (function(i){var f,s=document.getElementById(i);f=document.createElement('iframe');f.src='//api.flattr.com/button/view/?uid=benburwell&button=compact&url='+encodeURIComponent(document.URL);f.title='Flattr';f.height=20;f.width=110;f.style.borderWidth=0;s.parentNode.insertBefore(f,s);})('fbyvjgw');
        </script>
    </div>

    <div class="date">{{ page.date | date: "%A, %-d %B %Y" }}</div>

    {{ content }}

</section>