import du theme dans github
This commit is contained in:
11
templates/inc/article-cards.main.html
Normal file
11
templates/inc/article-cards.main.html
Normal file
@ -0,0 +1,11 @@
|
||||
{% if articles %}{# contenu principal : cartes articles #}
|
||||
<main id="main" class="ui cards">{% for article in articles_page.object_list %}
|
||||
{% include "inc/article-card.html" %}{% endfor %}
|
||||
</main>
|
||||
{% else %}
|
||||
<main class="">
|
||||
<article class="ui segment">
|
||||
<p>Nothing yet !</p>
|
||||
</article>
|
||||
</main>
|
||||
{% endif %}
|
Reference in New Issue
Block a user