Fix news post truncation

This commit is contained in:
Trever Fischer
2012-04-18 11:28:31 -04:00
parent 0826e01bd2
commit 53f9307bff

View File

@@ -11,7 +11,7 @@
<div class="byline">By <span itemprop="author">{{news.rootPost.user}}</span> <div class="avatar">{% avatar news.rootPost.user %}</div></div>
<div class="dateline">Posted {{news.created|timesince}} ago</div>
<div class="content" itemprop="articleBody">
{{news.rootPost.body|truncatewords:"100"|markdown}}
{{news.rootPost.body|markdown|truncatewords_html:"100"}}
</div>
<div class="commentcount"><a href="{{news.get_absolute_url}}"><span itemprop="interactionCount">{{news.rootPost.get_descendant_count}} comment{{news.rootPost.get_descendant_count|pluralize}}</span> &raquo;</a></div>
<br style="clear:both"/>