layout/skeleton/_innerlisting.html @ 89007a40aea4
Add real snippet support.
author |
Steve Losh <steve@stevelosh.com> |
date |
Wed, 23 Dec 2009 19:11:19 -0500 |
parents |
62daa229e3e8 |
children |
cf38a58b1927 |
{% 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="snip">{{ list_page.snip }}</span>
</li>
{%endif%}
{% endifnotequal %}
{% endfor %}
{%endspaceless%}
{% endblock %}