render commonmark in the village list too

This commit is contained in:
Thomas Steen Rasmussen 2016-08-15 08:36:07 +02:00
parent 7e51167df5
commit 14644b1b45

View file

@ -1,4 +1,5 @@
{% extends 'base.html' %}
{% load commonmark %}
{% block title %}
Villages | {{ block.super }}
@ -43,7 +44,7 @@ Villages | {{ block.super }}
</a>
</td>
<td>
{{ village.description|truncatewords:50 }}
{{ village.description|truncatewords:50|commonmark }}
</td>
<td>
<i class="glyphicon glyphicon-{% if village.private %}remove{% else %}ok{% endif %}"></i>