Browse Source

On remonte les tags dans le aside

Sangfroid 3 weeks ago
parent
commit
e63f90dd8a
1 changed files with 12 additions and 10 deletions
  1. 12 10
      templates/_aside.html.twig

+ 12 - 10
templates/_aside.html.twig

@@ -10,6 +10,17 @@
         </ul>
     </section>
 
+    <!-- Etiquettes -->
+    {% set tags = liste_tags() %}
+    <section>
+        <h2>Etiquettes</h2>
+        <p>
+        {% for tag in tags %}
+            <a href="{{ path('app_search', {'tag': tag.name}) }}"><span class="tag">{{ tag }}</span></a>
+        {% endfor %}
+        </p>
+    </section>
+
     <!-- Section Flux -->
     <section class="feeds">
         <h2>Flux</h2>
@@ -18,7 +29,7 @@
             <li><a href="{{ path('app_feed', {'type': 'rss' }) }}">RSS</a></li>
         </ul>
     </section>
-    
+
     <!-- Section Connexion -->
     <section class="connexion">
         {% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
@@ -41,15 +52,6 @@
         {% endif %}
     </section>    
     
-    {% set tags = liste_tags() %}
-    <section>
-        <h2>Etiquettes</h2>
-        <p>
-        {% for tag in tags %}
-            <a href="{{ path('app_search', {'tag': tag.name}) }}"><span class="tag">{{ tag }}</span></a>
-        {% endfor %}
-        </p>
-    </section>
     {#
     <!-- Catégories -->
     <section class="categories">