layout/_post.html @ 091ccc78e104

blog: add the translation branches entry
author Steve Losh <steve@stevelosh.com>
date Thu, 10 Jun 2010 21:46:09 -0400
parents f9e39b84a2b1
children def464696a83
{% 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">
        <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" }}
            {% if page.categories %}
                and tagged as
{% for category in page.categories %}{% if not forloop.first %}{% if forloop.last %} and {% else %}, {% endif %}{% endif %}<a href="{{ page.node.ancestors.1.url }}/{{ category }}/">{{ category }}</a>{% endfor %}.
            {% endif %}
        </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>
    
    <h1 id="comment-header">Comments</h1>
    
    <div id="disqus_thread"></div>
    <script type="text/javascript" src="http://disqus.com/forums/stevelosh/embed.js"></script>
    <noscript>
        <p><a href="http://disqus.com/forums/stevelosh/?url=ref">View the discussion thread.</a></p>
    </noscript>
    <a href="http://disqus.com" class="dsq-brlink">
        comments powered by
        <span class="logo-disqus">Disqus</span>
    </a>
{% endblock %}