# HG changeset patch # User Steve Losh # Date 1234677020 18000 # Node ID 3a51bfa414da2eced1867ac4c054d4fed8dd53e1 # Parent c413184a564e929dad4eaa89fda5eca046399d44 Everything feed is once again unborked, and the templates are cleaner! diff -r c413184a564e -r 3a51bfa414da templates/feeds/all_description.html --- a/templates/feeds/all_description.html Sun Feb 15 00:47:38 2009 -0500 +++ b/templates/feeds/all_description.html Sun Feb 15 00:50:20 2009 -0500 @@ -1,26 +1,7 @@ {% load markup %} -{% ifequal obj.type 'blog' %} - {{ obj.item.body|markdown }} -{% endifequal %} - -{% ifequal obj.type 'project' %} - {{ obj.item.body|markdown }} +{% ifequal obj.type 'photoblog' %} + {% endifequal %} -{% ifequal obj.type 'thought-text' %} - {{ obj.item.body|markdown }} -{% endifequal %} - -{% ifequal obj.type 'thought-link' %} - - {% if obj.item.name %} - {{ obj.item.name }} - {% else %} - {{ obj.item.url }} - {% endif %} - - {% if obj.item.description %} - {{ obj.item.description|markdown }} - {% endif %} -{% endifequal %} \ No newline at end of file +{{ obj.item.body|markdown }} \ No newline at end of file diff -r c413184a564e -r 3a51bfa414da templates/feeds/all_title.html --- a/templates/feeds/all_title.html Sun Feb 15 00:47:38 2009 -0500 +++ b/templates/feeds/all_title.html Sun Feb 15 00:50:20 2009 -0500 @@ -1,23 +1,1 @@ -{% 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 %} \ No newline at end of file +{{ obj.title }} \ No newline at end of file