summaryrefslogtreecommitdiffstats
path: root/templates/news/view.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/news/view.html')
-rw-r--r--templates/news/view.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/news/view.html b/templates/news/view.html
index 1b82bc0..64c510e 100644
--- a/templates/news/view.html
+++ b/templates/news/view.html
@@ -1,8 +1,9 @@
{% extends "base.html" %}
+{% load markup %}
{% block title %}Arch Linux - News: {{ news.title }}{% endblock %}
{% block content %}
-<div id="news-article" class="box">
+<div class="news-article box">
<h2>News: {{ news.title }}</h2>
@@ -17,7 +18,7 @@
<p class="article-info">{{ news.postdate }} - {{ news.author.get_full_name }}</p>
- {{ news.content|safe|linebreaks }}
+ <div>{{ news.content|markdown }}</div>
</div>
{% endblock %}