summaryrefslogtreecommitdiffstats
path: root/templates/public
diff options
context:
space:
mode:
Diffstat (limited to 'templates/public')
-rw-r--r--templates/public/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/public/index.html b/templates/public/index.html
index 762433a..686fbdd 100644
--- a/templates/public/index.html
+++ b/templates/public/index.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load markup cache %}
+{% load cache %}
{% load url from future %}
{% load static from staticfiles %}
@@ -53,8 +53,8 @@
</h4>
<p class="timestamp">{{ news.postdate|date }}</p>
<div class="article-content">
- {% if forloop.counter0 == 0 %}{{ news.content|markdown:'safe'|truncatewords_html:300 }}
- {% else %}{{ news.content|markdown:'safe'|truncatewords_html:100 }}{% endif %}
+ {% if forloop.counter0 == 0 %}{{ news.html|truncatewords_html:300 }}
+ {% else %}{{ news.html|truncatewords_html:100 }}{% endif %}
</div>
{% else %}
{% if forloop.counter0 == 5 %}