[SKEL] ~bandeau site: cache de 0s pour que le hasard porte ses fruits a chaque rechar...
authorLudovic CHEVALIER <ludovic@beurresarrasin.net>
Thu, 12 Feb 2015 09:41:38 +0000 (10:41 +0100)
committerLudovic CHEVALIER <ludovic@beurresarrasin.net>
Thu, 12 Feb 2015 09:41:38 +0000 (10:41 +0100)
inclure/sites.html [new file with mode: 0644]
sommaire.html

diff --git a/inclure/sites.html b/inclure/sites.html
new file mode 100644 (file)
index 0000000..ed07079
--- /dev/null
@@ -0,0 +1,29 @@
+#CACHE{0}
+<B_sites>
+<div class="col-12 col-m-6 col-l-3">
+    <div id="ateliers">
+        <h2 class="titre"><:clavettes:les_ateliers:></h2>
+        <ul>
+            <BOUCLE_sites(SITES){par hasard}>
+            <li[ style="background-color:#(#ID_RUBRIQUE|couleur_rubrique);"]>
+                <a href="#URL_RUBRIQUE"><h1>#NOM_SITE</h1></a>
+                <B_gis>
+                <ul>
+                <BOUCLE_gis(GIS){objet='site'}{id_objet=#ID_SYNDIC}>
+                    <li>
+                        <h2>• #TITRE</h2>
+                        <address>
+                            #ADRESSE
+                            <p>#CODE_POSTAL #VILLE</p>
+                        </address>
+                        <div class="descriptif">#DESCRIPTIF</div>
+                    </li>
+                </BOUCLE_gis>
+                </ul>
+                </B_gis>
+            </li>
+            </BOUCLE_sites>
+        </ul>
+    </div>
+</div>
+</B_sites>
index 84e8c88..a7726f6 100644 (file)
     </header>
     <section id="wrap">
 <!--1ERE COLONNE-->
-        <B_sites>
-        <div class="col-12 col-m-6 col-l-3">
-            <div id="ateliers">
-                <h2 class="titre"><:clavettes:les_ateliers:></h2>
-                <ul>
-                    <BOUCLE_sites(SITES){par hasard}>
-                    <li[ style="background-color:#(#ID_RUBRIQUE|couleur_rubrique);"]>
-                        <a href="#URL_RUBRIQUE"><h1>#NOM_SITE</h1></a>
-                        <B_gis>
-                        <ul>
-                        <BOUCLE_gis(GIS){objet='site'}{id_objet=#ID_SYNDIC}>
-                            <li>
-                                <h2>• #TITRE</h2>
-                                <address>
-                                    #ADRESSE
-                                    <p>#CODE_POSTAL #VILLE</p>
-                                </address>
-                                <div class="descriptif">#DESCRIPTIF</div>
-                            </li>
-                        </BOUCLE_gis>
-                        </ul>
-                        </B_gis>
-                    </li>
-                    </BOUCLE_sites>
-                </ul>
-            </div>
-        </div>
-        </B_sites>
+        <INCLURE{fond=inclure/sites}/>
 
 <!--2EME COLONNE-->
         <B_articles>