layout/skeleton/_listing.html @ b39558243b24

More server updates.
author Steve Losh <steve@stevelosh.com>
date Thu, 17 Jun 2010 20:43:10 -0400
parents b8301b4e1d66
children def464696a83
{% extends "skeleton/_base.html"%}

{% block extra_header %}{% if page.node.categories %} / {% endif %}{% endblock %}

{% block after_header %}
    {% if page.node.categories %}
        <div id="section-tags">
            <div class="section-tags-col">
            {% for category in page.node.categories.keys %}
                <p><a href="{{ page.url }}{{ category }}">{{ category }}</a></p>
                {% if forloop.counter|divisibleby:2 %}
                    {% if not forloop.last %}
                        </div><div class="section-tags-col">
                    {% endif %}
                {% endif %}
            {% endfor %}
            </div>
        </div>
    {% endif %}
{% endblock %}

{% block content %}
    <div id="section-listing">
        <ol>
            {% for node in page.node.walk reversed %}
                {% include "skeleton/_innerlisting.html" %}
            {% endfor %}
        </ol>
    </div>
{% endblock %}