layout/skeleton/_innerlisting.html @ 62daa229e3e8

Add snippet support.
author Steve Losh <steve@stevelosh.com>
date Wed, 23 Dec 2009 18:56:13 -0500
parents ae05dad4acfb
children 89007a40aea4
{% 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 }}
                    {%endwith%}
                </a>
                <span class="excerpt">{{ list_page.snip }}</span>
            </li>
        {%endif%}
    {% endifnotequal %}
{% endfor %}

{%endspaceless%}
{% endblock %}