templates/feeds/all_title.html @ a6653f5f6733
Yeah, there are going to be a bunch of tiny commits while I test out this Bird Feeder integration, sorry.
author |
Steve Losh <steve@stevelosh.com> |
date |
Thu, 15 Jan 2009 20:33:33 -0500 |
parents |
cc77ca937643 |
children |
3a51bfa414da |
{% ifequal obj.type 'blog' %}
{{ obj.item.title }}
{% endifequal %}
{% ifequal obj.type 'project' %}
{{ obj.item.name }}
{% endifequal %}
{% ifequal obj.type 'thought-text' %}
{% if obj.item.title %}
{{ obj.item.title }}
{% else %}
{{ obj.item.body|truncatewords:10 }}
{% endif %}
{% endifequal %}
{% ifequal obj.type 'thought-link' %}
{% if obj.item.name %}
{{ obj.item.name }}
{% else %}
{{ obj.item.url }}
{% endif %}
{% endifequal %}