|
@@ -1,4 +1,15 @@
|
|
<aside>
|
|
<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 Connexion -->
|
|
<section class="connexion">
|
|
<section class="connexion">
|
|
{% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
|
|
{% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
|
|
@@ -21,16 +32,7 @@
|
|
{% endif %}
|
|
{% endif %}
|
|
</section>
|
|
</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 -->
|
|
<!-- Catégories -->
|