Browse Source

[html] gérer plus simplement les sites syndiqués: pas de page dédiée, on renvoie direct sur le site

master v1.3.4
erational 5 months ago
parent
commit
93a244a19e
6 changed files with 14 additions and 9 deletions
  1. +2
    -0
      404.html
  2. +3
    -3
      _patron_article.html
  3. +1
    -1
      inc/rubrique.html
  4. +0
    -4
      js/gui.js
  5. +1
    -1
      paquet.xml
  6. +7
    -0
      site.html

+ 2
- 0
404.html View File

@ -40,6 +40,8 @@
[<img src="(#CHEMIN{img/404.png})" alt="<:pass_erreur:> 404" >]
</div>
<div class="debug"></div>
</div>
<!-- #content -->


+ 3
- 3
_patron_article.html View File

@ -197,7 +197,7 @@
<h2 class="spip">Kamakura utilise le font Awesome</h2>
<h2 class="spip">Kamakura utilise font Awesome 5</h2>
<p>
Il est donc possible d'utiliser toutes les icônes de la police
@ -207,11 +207,11 @@
<p>
<strong>Exemple</strong><br />
<i class="fas fa-ice-poo text-secondary"></i>
<i class="fas fa-poo fa-2x text-success"></i>
</p>
<strong>Syntaxe</strong>
<div style='text-align: left;' class='spip_code' dir='ltr'><code class="html">&lt;i class=&quot;fas fa-poo text-secondary&quot;&gt;&lt;/i&gt;</code></div>
<div style='text-align: left;' class='spip_code' dir='ltr'><code class="html">&lt;i class=&quot;fas fa-poo fa-2x text-success&quot;&gt;&lt;/i&gt;</code></div>


+ 1
- 1
inc/rubrique.html View File

@ -76,7 +76,7 @@
<div class="liste-articles mt-2">
<ul>
<BOUCLE_sites(SITES) {id_rubrique} {par nom_site}>
<li><a href="[(#ID_SYNDIC|generer_url_entite{site})]" class="article-external-link">#NOM_SITE<i class="fas fa-external-link-alt"></i></a></li>
[<li><a href="(#URL_SITE)" class="article-external-link">#NOM_SITE<i class="fas fa-external-link-alt"></i></a></li>]
</BOUCLE_sites>
</ul>
</div>


+ 0
- 4
js/gui.js View File

@ -55,13 +55,9 @@ $(document).ready(function(){
$(this) .children("ul").hide();
});
});
// WOW: animation in scroll
// https://wowjs.uk/docs.html
new WOW().init();

+ 1
- 1
paquet.xml View File

@ -1,7 +1,7 @@
<paquet
prefix="kamakura"
categorie="squelette"
version="1.3.3"
version="1.3.4"
schema="1.0.0"
etat="stable"
compatibilite="[3.2.0;3.3.*]"


+ 7
- 0
site.html View File

@ -0,0 +1,7 @@
[(#REM)
page site : on cache
param:
- id_syndic
]<INCLURE{fond=404} />

Loading…
Cancel
Save