templates/feeds/thoughts_description.html @ 677d5ff5c56e

Pretty much done with the photo blog.
author Steve Losh <steve@stevelosh.com>
date Sun, 15 Feb 2009 00:34:21 -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 %}