templates/feeds/all_title.html @ 315df6ca542d

Pulled out the URLs into app-specific files.

It's so much cleaner!
author Steve Losh <steve@stevelosh.com>
date Fri, 13 Feb 2009 20:40:27 -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 %}