layout/_post.html @ c2388407ddf9

Turn on Flattr for the Vim entry.
author Steve Losh <steve@dwaiter.com>
date Mon, 20 Sep 2010 18:16:04 -0400
parents def464696a83
children fe3eb7796d61
{% extends "skeleton/_base.html" %}

{% block extra_css %}
    <link rel="stylesheet"
          href="{{ site.url }}/media/css/pygments-monokai-light.css"
          type="text/css" media="screen" charset="utf-8" />
{% endblock %}

{% block content %}
    <div id="leaf-title">
        <h1><a href="{{ page.url }}">{{ page.title|safe|typogrify }}</a></h1>
    </div>


    <div id="leaf-stats" class="group">
        {% if page.flattr %}
            <div class="flattr">
                <a class="FlattrButton" style="display:none;" rev="flattr;button:compact;"
                   href="http://stevelosh.com{{ page.url }}"></a>
           </div>
        {% endif %}
        <p>
            Posted
            <span class="timeago"
                  title="{{ page.created|date:"Y-m-d" }}T{{ page.created|date:"H:i:s" }}">
            </span>
            on {{ page.created|date:"F j, Y" }}.
        </p>
    </div>

    <div id="leaf-content" class="{% block article_class %}{% endblock %}">
        {% filter typogrify %}
            {% article %}
                {% filter typogrify %}
                    {% markdown toc def_list codehilite %}
                        {% block article %}{% endblock %}
                    {% endmarkdown %}
                {% endfilter %}
            {% endarticle %}
        {% endfilter %}
    </div>
{% endblock %}