templates/feeds/thoughts_description.html @ 2f5e2fcfa47e

No, really, I did.
author Steve Losh <steve@stevelosh.com>
date Mon, 09 Feb 2009 18:33:35 -0500
parents cc77ca937643
children (none)
{% load markup %}

{% ifequal obj.type 'thought-text' %}
	{{ obj.item.body|markdown }}
{% endifequal %}

{% ifequal obj.type 'thought-link' %}
	<a href="{{ obj.item.url }}">
		{% if obj.item.name %}
			{{ obj.item.name }}
		{% else %}
			{{ obj.item.url }}
		{% endif %}
	</a>
	{% if obj.item.description %}
		{{ obj.item.description|markdown }}
	{% endif %}
{% endifequal %}