---
layout: base
---

<h1>{{ page.title }}</h1>
<div id="content">
    <ul id="post-info">
        <li><span><i class="fa fa-tag"></i> Tags:</span>
            {% for tag in page.tags %}
                <a href="/#{{ tag }}" class="post-tag">{{ tag }}</a>
            {% endfor %}
        <li><span><i class="fa fa-clock-o"></i> Date:</span> {{ page.date | date: "%B %-d, %Y" }}</li>
        <li><span><i class="fa fa-comments"></i></span> <a href="#disqus_thread">Jump to comments</a></li>
    </ul>
    <div id="post">
        {{ content }}
    </div>
    {% unless page.draft %}
        <div id="disqus_thread"></div>
        <script>
            var disqus_shortname = 'earwig';
            var disqus_identifier = '{{ page.id }}';
            var disqus_title = '{{ page.title }}';
            var disqus_url = '{{ site.url }}{{ page.url }}';
            var disqus_developer = 1;
            (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="//disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
    {% endunless %}
</div>
