summaryrefslogtreecommitdiff
path: root/sublab_project/news/templates/news/news_list.html
diff options
context:
space:
mode:
Diffstat (limited to 'sublab_project/news/templates/news/news_list.html')
-rw-r--r--sublab_project/news/templates/news/news_list.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/sublab_project/news/templates/news/news_list.html b/sublab_project/news/templates/news/news_list.html
index ab998e8..6330ffb 100644
--- a/sublab_project/news/templates/news/news_list.html
+++ b/sublab_project/news/templates/news/news_list.html
@@ -1,10 +1,11 @@
{% extends 'base.html' %}
{%block content %}
+ <h2>sublab - news</h2>
{% for post in news_list %}
<h3 id="{{ post.slug }}">
- <a>{{ post.date_updated|date }} - {{ post.title }}</a>
+ <a href="{{ post.get_absolute_url }}">{{ post.date_updated|date }} - {{ post.title }}</a>
</h3>
- <p>{{ post.content }}</p>
+ <p>{{ post.content_html|safe }}</p>
{% endfor %}
{% endblock content %}