layout/_post.html @ def464696a83

Redesign the site.

Sorry about the giant commit.
author Steve Losh <steve@stevelosh.com>
date Wed, 08 Sep 2010 20:15:45 -0400
parents f9e39b84a2b1
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 %}