forked from AFPy/afpy.org
FIX: Deduplicate job summary.
This commit is contained in:
parent
8ce718848d
commit
818e09cad7
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue