Amélioration de l'affichage des offres d'emploi

This commit is contained in:
Mindiell 2021-11-17 11:36:28 +01:00 committed by Julien Palard
parent 0fd8f901fa
commit 6687306a89
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@
{% if job.image_path %}
<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>