Un seul modèle pour les actus

This commit is contained in:
Evarin 2018-01-22 21:24:20 +01:00
parent 8551ffcfd3
commit 8488beeb4e
10 changed files with 120 additions and 183 deletions

View file

@ -22,7 +22,7 @@
{% get_current_language as curlang %}
<span class="actu-minical">{% mini_calendar actu curlang %}</span><span class="actu-dates">{{ actu.dates }}</span>
{% else %}
{{ actu.body|safe|truncatewords_html:25 }}
{{ actu.body|safe|truncatewords_html:10 }}
{% endif %}
</div>
<a href="{% pageurl actu %}" class="actu-overlay"></a>