forked from AFPy/afpy.org
Amélioration de l'affichage des offres d'emploi
This commit is contained in:
parent
0fd8f901fa
commit
6687306a89
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue