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/index.html') diff --git a/templates/public/index.html b/templates/public/index.html index 4f248fd..19b43c6 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 @@

{{ news.title }}

{{ news.postdate }}

-

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

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