templates/feeds/thoughts_description.html @ 4503e2493b8d
Refactored Thoughts to use Djangos built-in pagination.
author |
Steve Losh <steve@stevelosh.com> |
date |
Thu, 12 Feb 2009 13:56:47 -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 %}