syntaxe boucle articles > podcasts > chapitres
This commit is contained in:
parent
384dc30560
commit
db1a27a753
77
squelettes/content/article.html
Normal file
77
squelettes/content/article.html
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
<BOUCLE_principale(ARTICLES){id_article}>
|
||||||
|
|
||||||
|
<article>
|
||||||
|
|
||||||
|
<header class="cartouche">
|
||||||
|
|
||||||
|
[<p class="#EDIT{surtitre} surtitre">(#SURTITRE)</p>]
|
||||||
|
<h1><span class="#EDIT{titre} article__titre">#TITRE</span>[
|
||||||
|
<small class="#EDIT{soustitre} soustitre">(#SOUSTITRE)</small>
|
||||||
|
]</h1>
|
||||||
|
|
||||||
|
<p class="article__infos">
|
||||||
|
[<span class="article__date">Publié le (#DATE|nom_jour) [(#DATE|affdate)]</span>]
|
||||||
|
[(#CONFIG{baz_april/afficherauteurs}|=={on}|oui)[<span class="article__auteurs"><:par_auteur:> (#LESAUTEURS)</span>]]
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<div class="postmeta">
|
||||||
|
#MODELE{article_traductions}
|
||||||
|
<BOUCLE_groupes(GROUPES_MOTS){par titre}>
|
||||||
|
<B_tags>
|
||||||
|
<p class="mots">
|
||||||
|
<strong>#TITRE : </strong><BOUCLE_tags(MOTS){id_article}{id_groupe}{', '}>
|
||||||
|
<a href="#URL_MOT">#TITRE</a>
|
||||||
|
</BOUCLE_tags>
|
||||||
|
</p>
|
||||||
|
</B_tags>
|
||||||
|
</BOUCLE_groupes>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="main">
|
||||||
|
|
||||||
|
[<div class="#EDIT{chapo} article__chapo">(#CHAPO|adaptive_images{#CONST{_CONTENT_WIDTH},0})</div>]
|
||||||
|
|
||||||
|
[<div class="#EDIT{texte} article__texte">(#TEXTE|adaptive_images{#CONST{_CONTENT_WIDTH},0})</div>]
|
||||||
|
|
||||||
|
<h2>Podcast</h2>
|
||||||
|
<BOUCLE_pod(PODCASTS){id_article}>
|
||||||
|
<h3>code = #CODE</h3>
|
||||||
|
<ul>
|
||||||
|
<li>fichier (url) = [(#FICHIER**)]</li>
|
||||||
|
<li>durée = #DUREE</li>
|
||||||
|
<li>Chapitres :
|
||||||
|
<ul>
|
||||||
|
<BOUCLE_chap(CHAPITRES){id_podcast}{par debut}>
|
||||||
|
<li><h4>titre (chapter_title) = #TITRE</h4>
|
||||||
|
<ul>
|
||||||
|
<li>nom identifiant (short_chapter_name) = #NOM_IDENTIFIANT</li>
|
||||||
|
<li>sujet principal = #SUJET_PRINCIPAL</li>
|
||||||
|
<li>debut (start_timestamp) = #DEBUT</li>
|
||||||
|
<li>fin (end_timestamp) = #FIN</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</BOUCLE_chap>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</BOUCLE_pod>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
[<aside>
|
||||||
|
(#INCLURE{fond=inclure/documents,id_article})
|
||||||
|
</aside>]
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
|
||||||
|
[<p class="#EDIT{hyperlien} article__hyperlien"><:voir_en_ligne:/> : <a href="(#URL_SITE)" class="spip_out">[(#NOM_SITE|sinon{[(#URL_SITE|couper{80})]})]</a></p>]
|
||||||
|
|
||||||
|
[<div class="article__notes">(#NOTES)</div>]
|
||||||
|
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
|
</BOUCLE_principale>
|
15
squelettes/header/dist.html
Normal file
15
squelettes/header/dist.html
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
|
||||||
|
<div class="header_title print">
|
||||||
|
<h1 id="logo_site_spip"[ class="(#EDIT{meta-nom_site})"]>[(#SI_PAGE{sommaire}|non)<a rel="start home" href="#URL_SITE_SPIP/" title="<:accueil_site:>">]
|
||||||
|
[(#LOGO_SITE_SPIP|image_reduire{400,150}) ]<span class="nom_site_spip">#NOM_SITE_SPIP</span>
|
||||||
|
[<small class="slogan_site_spip[ (#EDIT{meta-slogan_site})]">(#SLOGAN_SITE_SPIP)</small>]
|
||||||
|
[(#SI_PAGE{sommaire}|non)</a>]</h1>
|
||||||
|
</div>
|
||||||
|
<div class="header_menu">
|
||||||
|
<INCLURE{fond=inclure/nav-secteurs, env} />
|
||||||
|
<div class="liens">
|
||||||
|
<a href="#URL_PAGE{backend}" class="btn"><i class="fas fa-rss left"></i>S'abonner au podcast</a>
|
||||||
|
<INCLURE{fond=inclure/rezo} />
|
||||||
|
#FORMULAIRE_ABOMAILMAN_MINI_UNE_LISTE{1}
|
||||||
|
</div>
|
||||||
|
</div>
|
@ -61,7 +61,7 @@ a {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.nav.principale {
|
.nav.principale {
|
||||||
font-family:$typo-titre;
|
font-family:$typo-labeur;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, .h1,
|
h1, .h1,
|
||||||
@ -71,7 +71,7 @@ h4, .h4,
|
|||||||
h5, .h5,
|
h5, .h5,
|
||||||
h6, .h6 {
|
h6, .h6 {
|
||||||
font-family: $typo-titre;
|
font-family: $typo-titre;
|
||||||
font-weight: 200;
|
font-weight: 700;
|
||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
color: $couleur-titres;
|
color: $couleur-titres;
|
||||||
|
@ -19,7 +19,9 @@
|
|||||||
.nav a {
|
.nav a {
|
||||||
border:0;
|
border:0;
|
||||||
color:white;
|
color:white;
|
||||||
padding:0.3em 1em 0.2em;
|
padding:0.3em 0.7em 0.2em;
|
||||||
|
margin-right:0;
|
||||||
|
margin-left:0;
|
||||||
border-radius:4px;
|
border-radius:4px;
|
||||||
/* background-color:$couleurSecondaire; */
|
/* background-color:$couleurSecondaire; */
|
||||||
.on &,
|
.on &,
|
||||||
|
Loading…
Reference in New Issue
Block a user