summaryrefslogtreecommitdiffstats
path: root/templates/public
diff options
context:
space:
mode:
Diffstat (limited to 'templates/public')
-rw-r--r--templates/public/index.html3
1 files changed, 2 insertions, 1 deletions
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 %}
<link rel="alternate" type="application/rss+xml" title="Arch Linux News Updates" href="/feeds/news/" />
@@ -44,7 +45,7 @@
<h4><a href="{{ news.get_absolute_url }}"
title="View full article: {{ news.title }}">{{ news.title }}</a></h4>
<p class="timestamp">{{ news.postdate }}</p>
- <p>{{ news.content|striptags|truncatewords:50 }}</p>
+ <div class="article-content">{{ news.content|markdown|truncatewords_html:75 }}</div>
{% endfor %}
</div><!-- #news -->