render commonmark in the village list too
This commit is contained in:
parent
7e51167df5
commit
14644b1b45
|
@ -1,4 +1,5 @@
|
||||||
{% extends 'base.html' %}
|
{% extends 'base.html' %}
|
||||||
|
{% load commonmark %}
|
||||||
|
|
||||||
{% block title %}
|
{% block title %}
|
||||||
Villages | {{ block.super }}
|
Villages | {{ block.super }}
|
||||||
|
@ -43,7 +44,7 @@ Villages | {{ block.super }}
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{ village.description|truncatewords:50 }}
|
{{ village.description|truncatewords:50|commonmark }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<i class="glyphicon glyphicon-{% if village.private %}remove{% else %}ok{% endif %}"></i>
|
<i class="glyphicon glyphicon-{% if village.private %}remove{% else %}ok{% endif %}"></i>
|
||||||
|
|
Loading…
Reference in a new issue