mirror of
https://git.spip.net/spip-contrib-squelettes/archil
synced 2023-08-25 10:33:10 +02:00
intégration squelettes mot et rubrique
This commit is contained in:
parent
600ffcf104
commit
5eb4ac29fd
57
mot.html
Normal file
57
mot.html
Normal file
@ -0,0 +1,57 @@
|
||||
<BOUCLE_principale(MOTS) {id_mot}>
|
||||
<!DOCTYPE html>
|
||||
<html dir="#LANG_DIR" lang="#LANG" class="[(#LANG_DIR)][ (#LANG)] no-js">
|
||||
<head>
|
||||
<script type='text/javascript'>/*<![CDATA[*/(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement);/*]]>*/</script>
|
||||
<title>[(#TITRE|couper{80}|textebrut) - ][(#NOM_SITE_SPIP|textebrut)]</title>
|
||||
[<meta name="description" content="(#DESCRIPTIF|couper{150}|attribut_html)" />]
|
||||
[<link rel="canonical" href="(#URL_MOT|url_absolue{#URL_SITE_SPIP})" />]
|
||||
<INCLURE{fond=inclure/head} />
|
||||
[(#REM) Lien vers le flux RSS des articles du mot cle ]
|
||||
<link rel="alternate" type="application/rss+xml"[ title="(#TITRE|attribut_html)"] href="[(#URL_PAGE{backend}|parametre_url{id_mot,#ID_MOT})]" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<INCLURE{fond=inclure/header} />
|
||||
|
||||
<main class="main" role="main">
|
||||
[(#REM) Contenu principal : contenu du mot-cle ]
|
||||
<div class="cartouche">
|
||||
<h1 class="#EDIT{titre} surlignable">#TITRE</h1>
|
||||
</div>
|
||||
|
||||
[<div class="#EDIT{texte} texte">(#TEXTE)</div>]
|
||||
|
||||
[(#REM) Articles lies au mot-cle ]
|
||||
<B_articles>
|
||||
<div class="listes-articles">
|
||||
#ANCRE_PAGINATION
|
||||
<ul class="listes-articles">
|
||||
<BOUCLE_articles(ARTICLES) {id_mot} {!par popularite} {pagination 20}>
|
||||
<li>
|
||||
<strong><a href="#URL_ARTICLE">#TITRE</a></strong> <time>[(#DATE|nom_jour) ][(#DATE|affdate)]</time>
|
||||
</li>
|
||||
</BOUCLE_articles>
|
||||
</ul>
|
||||
[<nav role="navigation" class="p pagination">(#PAGINATION{precedent_suivant})</nav>]
|
||||
</div>
|
||||
</B_articles>
|
||||
|
||||
[(#REM) Sites web lies au mot-cle ]
|
||||
<B_sites>
|
||||
<div class="menu">
|
||||
<h2><:sites_web:></h2>
|
||||
<ul>
|
||||
<BOUCLE_sites(SITES?) {id_mot} {par nom_site}>
|
||||
<li><a href="[(#ID_SYNDIC|generer_url_entite{site,'','',#CONNECT})]">#NOM_SITE</a></li>
|
||||
</BOUCLE_sites>
|
||||
</ul>
|
||||
</div>
|
||||
</B_sites>
|
||||
</main><!--.main-->
|
||||
|
||||
<INCLURE{fond=inclure/footer,self=#SELF} />
|
||||
</body>
|
||||
</html>
|
||||
</BOUCLE_principale>
|
@ -1,7 +1,7 @@
|
||||
<paquet
|
||||
prefix="archil"
|
||||
categorie="squelette"
|
||||
version="0.0.5"
|
||||
version="0.0.6"
|
||||
etat="dev"
|
||||
compatibilite="[4.0.0;4.2.*]"
|
||||
logo="images/archil-128.png"
|
||||
|
50
rubrique.html
Normal file
50
rubrique.html
Normal file
@ -0,0 +1,50 @@
|
||||
<BOUCLE_principale(RUBRIQUES) {id_rubrique}>
|
||||
<!DOCTYPE html>
|
||||
<html dir="#LANG_DIR" lang="#LANG" class="[(#LANG_DIR)][ (#LANG)] no-js">
|
||||
<head>
|
||||
<script type='text/javascript'>/*<![CDATA[*/(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement);/*]]>*/</script>
|
||||
<title>[(#TITRE|couper{80}|textebrut) - ][(#NOM_SITE_SPIP|textebrut)]</title>
|
||||
[<meta name="description" content="(#INTRODUCTION{150}|attribut_html)" />]
|
||||
[<link rel="canonical" href="(#URL_RUBRIQUE|url_absolue{#URL_SITE_SPIP})" />]
|
||||
<INCLURE{fond=inclure/head} />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div>
|
||||
|
||||
<INCLURE{fond=inclure/header} />
|
||||
|
||||
<main class="main" role="main">
|
||||
[(#REM) Contenu principal : contenu de la rubrique ]
|
||||
<div>
|
||||
<div id="content">
|
||||
<div>
|
||||
<h1>#TITRE</h1>
|
||||
</div>
|
||||
|
||||
<!--[<div>(#TEXTE|image_reduire{672,*})</div>]-->
|
||||
|
||||
[(#REM) Articles de la rubrique ]
|
||||
<B_articles>
|
||||
<div class="listes-articles">
|
||||
#ANCRE_PAGINATION
|
||||
<ul class="listes-articles">
|
||||
<BOUCLE_articles(ARTICLES) {id_rubrique} {!par date} {pagination 20}>
|
||||
<li>
|
||||
<a href="#URL_ARTICLE">#TITRE</a> <time>[(#DATE|nom_jour) ][(#DATE|affdate)]</time>
|
||||
</li>
|
||||
</BOUCLE_articles>
|
||||
</ul>
|
||||
[<nav role="navigation" class="p pagination">(#PAGINATION{precedent_suivant})</nav>]
|
||||
</div>
|
||||
</B_articles>
|
||||
</div><!--.content-->
|
||||
</div><!--.wrapper-->
|
||||
</main><!--.main-->
|
||||
|
||||
<INCLURE{fond=inclure/footer,self=#SELF} />
|
||||
|
||||
</div><!--.page-->
|
||||
</body>
|
||||
</html>
|
||||
</BOUCLE_principale>
|
Loading…
Reference in New Issue
Block a user