|
@@ -1,4 +1,15 @@
|
|
|
<aside>
|
|
|
+ <!-- Derniers articles -->
|
|
|
+ {% set articles = last_articles() %}
|
|
|
+ <section class="derniers-articles">
|
|
|
+ <h2>Derniers articles</h2>
|
|
|
+ <ul>
|
|
|
+ {% for article in articles %}
|
|
|
+ <li><a href="{{ path('app_view', {'slug': article.slug}) }}">{{ article.title }}</a></li>
|
|
|
+ {% endfor %}
|
|
|
+ </ul>
|
|
|
+ </section>
|
|
|
+
|
|
|
<!-- Section Connexion -->
|
|
|
<section class="connexion">
|
|
|
{% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
|
|
@@ -21,16 +32,7 @@
|
|
|
{% endif %}
|
|
|
</section>
|
|
|
|
|
|
- <!-- Derniers articles -->
|
|
|
- {% set articles = last_articles() %}
|
|
|
- <section class="derniers-articles">
|
|
|
- <h2>Derniers articles</h2>
|
|
|
- <ul>
|
|
|
- {% for article in articles %}
|
|
|
- <li><a href="{{ path('app_view', {'slug': article.slug}) }}">{{ article.title }}</a></li>
|
|
|
- {% endfor %}
|
|
|
- </ul>
|
|
|
- </section>
|
|
|
+
|
|
|
|
|
|
{#
|
|
|
<!-- Catégories -->
|