Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 71 lines (65 sloc) 2.329 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 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
---
layout: blog
page_name: blog
---

<div class="blog-articles">
    <a href="/">Read more articles</a>
</div>
<div id="post">
    <div class="post-titlebar">
        <div class="calendar">
            <div class="month">{{ page.date | date:"%b" }}</div>
            <div class="day">{{ page.date | date:"%d" }}</div>
            <div class="year">{{ page.date | date:"%Y" }}</div>
        </div>
        <h1 class="post-title">{{ page.title }}</h1>
        <div class="clear"></div>
    </div>
    <div class="post-content">{{ content }}</div>
</div>

<div class="simple_overlay" id="overlay-gallery">
    <a class="overlay-prev">prev</a>
    <a class="overlay-next">next</a>
    <div class="overlay-info"></div>
    <img class="overlay-progress" src="{{site.url}}/shared/img/twitter-loader.gif" />
</div>

<script>
(function() {
    var postContent = $('.post-content');
    var images = $('.blog-image', postContent).add('.blog-image-full', postContent).add('.blog-image-border', postContent).add('.blog-image-full-border', postContent);
    if (!images.length) return;
    
    var anchors = [];
    images.each(function() {
        var el = $(this);
        var wrapper = $('<a/>').attr('href', el.attr('src'));
        var origTitle = el.attr('title');
        if (origTitle) wrapper.attr('title', origTitle);
        el.wrap(wrapper);
    });

    images.parent().overlay({
        effect: 'apple',
        expose: '#f1f1f1',
        target: '#overlay-gallery'
    }).gallery({
        disabledClass: 'disabled-overlay',
        prev: '.overlay-prev',
        next: '.overlay-next',
        info: '.overlay-info',
        progress: '.overlay-progress',
        opacity: 1,
        speed: 200,
        template: '[${index}/${total}] ${title}'
    });
})();
</script>

<div class="master-separator">
</div>
<div id="comments">
    <div id="disqus_thread"></div>
    <div id="disqus_script"></div>
    <script type="text/javascript" charset="utf-8">
      var disqus_url = "http://blog.binaryage.com{{page.url}}/";
      $("#disqus_script").html(writeCapture.sanitize('<scr'+'ipt type="text/javascript" src="http://disqus.com/forums/binaryage/embed.js"></sc'+'ript>')); // async
    </script>
    <a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
</div>
Something went wrong with that request. Please try again.