layout/_post.html @ fe3eb7796d61

all things are pain
author Steve Losh <steve@stevelosh.com>
date Sat, 29 Sep 2012 14:02:57 -0400
parents def464696a83
children f1ec90b2adf7
{% 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;"
                    title="{{ page.title|safe }}"
                    data-flattr-category="text"
                    data-flattr-button="compact"
                    href="http://stevelosh.com{{ page.url }}">Flattr</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 %}