templates/feeds/all_description.html @ 444fa384fab8

Got a working photoblog (almost).
author Steve Losh <steve@stevelosh.com>
date Sat, 14 Feb 2009 12:39:39 -0500
parents cc77ca937643
children 3a51bfa414da
{% load markup %}

{% ifequal obj.type 'blog' %}
	{{ obj.item.body|markdown }}
{% endifequal %}

{% ifequal obj.type 'project' %}
	{{ obj.item.body|markdown }}
{% endifequal %}

{% 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 %}