layout/skeleton/_innerlisting.html @ b7e80769ceb9

Add a smush task to the fabfile.
author Steve Losh <steve@stevelosh.com>
date Sat, 09 Jan 2010 00:12:56 -0500
parents 1f5a661bd38b
children 08d7552b6237
{% extends "skeleton/_root.html" %}

{% block all %}
{%spaceless%}

{% for list_page in node.pages %}
    {% ifnotequal list_page node.listing_page %}
        {% if not list_page.exclude %}
            <li>
                <a href="{{ list_page.url }}">
                    {% with list_page.name_without_extension|remove_date_prefix|unslugify as default_title %}
                        {{ list_page.title|default_if_none:default_title|safe|typogrify }}
                    {%endwith%}
                </a>
                <span class="snip">{{ list_page.snip|safe|typogrify }}</span>
            </li>
        {%endif%}
    {% endifnotequal %}
{% endfor %}

{%endspaceless%}
{% endblock %}