Remove list articles if not articles
This commit is contained in:
parent
81aabb21ab
commit
b1a1a521c2
@ -41,6 +41,7 @@
|
|||||||
<p class="center"><a href="{{ url_for('loginlogout.lost_password') }}"> Mouarf j'ai perdu mon mot de passe </a> </p>
|
<p class="center"><a href="{{ url_for('loginlogout.lost_password') }}"> Mouarf j'ai perdu mon mot de passe </a> </p>
|
||||||
<button class="btn btn-default btn-primary" type="submit"> Login </button>
|
<button class="btn btn-default btn-primary" type="submit"> Login </button>
|
||||||
</form>
|
</form>
|
||||||
|
{% if list_post %}
|
||||||
<h2> Les derniers articles de blog sur le serveur </h2>
|
<h2> Les derniers articles de blog sur le serveur </h2>
|
||||||
<div class="list-articles" >
|
<div class="list-articles" >
|
||||||
|
|
||||||
@ -59,10 +60,11 @@
|
|||||||
<p> {{ article.subtitle }} </p>
|
<p> {{ article.subtitle }} </p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<footer><a href="/blog//public_unified/{{ article.author }}/{{ article.title }}"> <button> Lire la suite </button> </a></footer>
|
<footer><a href="/blog//public_unified/{{ article.author }}/{{ article.title }}"> <button> Lire la suite </button> </a></footer>
|
||||||
</article>
|
</article>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user