Browse Source

sociaux

master
chankalan 3 years ago
parent
commit
1ff6d2294c
  1. 5
      css/theme.scss
  2. 2
      footer/dist.html
  3. 9
      inclure/rezo.html

5
css/theme.scss

@ -21,8 +21,3 @@
i { font-size:130%; padding:1rem; }
}
}
.sociaux { margin-bottom:2rem;
.socicon { font-size:1rem; opacity:0.7;
&:hover { opacity:1; }
}
}

2
footer/dist.html

@ -1,4 +1,4 @@
[(#PLUGIN{sociaux}|oui)<INCLURE{fond=inclure/sociaux} />]
[(#PLUGIN{sociaux}|oui)<INCLURE{fond=inclure/rezo} />]
<B_articlespied><ul class="copyright">
<BOUCLE_articlespied(ARTICLES){id_article IN #CONFIG{html5up/articlespied}|picker_selected{article}}>

9
inclure/rezo.html

@ -0,0 +1,9 @@
[(#REM) Avec plugin sociaux ]
[(#SET{rezo,[(#PIPELINE{sociaux_lister,#ARRAY{args,#ARRAY{skel,#SQUELETTE,date,#ENV**{date}},data,#ARRAY}})]})]
<B_sociaux><ul class="icons">
<BOUCLE_sociaux(DATA){source tableau,#GET{rezo}}{cle !IN mail}>
#SET{icone,fa-#CLE}
[(#CLE|=={googleplus}|?{#SET{icone,fa-google-plus}})]
[<li><a class="icon brands #GET{icone}" href="(#CONFIG{sociaux/#CLE})"><span class="label">#VALEUR</span></a></li>]
</BOUCLE_sociaux>
</ul></B_sociaux>
Loading…
Cancel
Save