forked from AFPy/afpy.org
Avoid displaying 'None'.
This commit is contained in:
parent
4959d00c9d
commit
995fbf2444
|
@ -11,7 +11,7 @@
|
|||
</time>
|
||||
<p>
|
||||
<em>
|
||||
{{ post.summary | safe }}
|
||||
{{ post.summary | safe if post.summary }}
|
||||
</em>
|
||||
</p>
|
||||
{% if post.image %}
|
||||
|
@ -21,7 +21,7 @@
|
|||
</article>
|
||||
{% if name == 'emplois' %}
|
||||
<aside>
|
||||
<h2>{{ post.company }}</h2>
|
||||
<h2>{{ post.company or "(Société inconnue)" }}</h2>
|
||||
<dl>
|
||||
{% if post.address %}
|
||||
<dt>Adresse</dt>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
{% if post.image %}
|
||||
<img src="{{ url_for('post_image', path=post.image) }}" alt="{{ post.title }}" />
|
||||
{% endif %}
|
||||
{{ post.summary | safe }}
|
||||
{{ post.summary | safe if post.summary }}
|
||||
<p><a href="{{ url_for('post', name=name, timestamp=timestamp) }}">Lire la suite…</a></p>
|
||||
</article>
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user