FIX: Deduplicate job summary.

This commit is contained in:
Julien Palard 2022-01-12 13:44:39 +01:00
parent 8ce718848d
commit 818e09cad7
Signed by: mdk
GPG Key ID: 0EFC1AC1006886F8
1 changed files with 0 additions and 1 deletions

View File

@ -19,7 +19,6 @@
<img src="{{ url_for('home.get_image', path=job.image_path) }}" alt="{{ job.title }}" />
{% endif %}
{% if job.summary %}{{ job.summary |safe }}{% else %}{{ job.content|truncate(50)|safe }}{% endif %}
{{ job.summary | safe if job.summary }}
<p><a href="{{ job|slug_url }}">Lire la suite…</a></p>
</article>
{% endfor %}