From 7b73c0ff8c8caa546442e3e3311867f2c6159754 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 6 Jul 2010 20:33:03 -0500 Subject: Get news markdown formatting working everywhere Signed-off-by: Dan McGee --- templates/public/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'templates/public') diff --git a/templates/public/index.html b/templates/public/index.html index 4f248fd5..19b43c66 100644 --- a/templates/public/index.html +++ b/templates/public/index.html @@ -1,4 +1,5 @@ {% extends "base.html" %} +{% load markup %} {% block head %} @@ -44,7 +45,7 @@

Latest News ({{ news.title }}

{{ news.postdate }}

-

{{ news.content|striptags|truncatewords:50 }}

+
{{ news.content|markdown|truncatewords_html:75 }}
{% endfor %} -- cgit v1.2.3-54-g00ecf