1
0
mirror of https://git.spip.net/spip-contrib-squelettes/archil synced 2023-08-25 10:33:10 +02:00

Intégration article.html

This commit is contained in:
Plumf 2023-08-10 17:27:12 +02:00
parent a89332a6dc
commit 595c1c550c
3 changed files with 61 additions and 1 deletions

44
article.html Normal file
View File

@ -0,0 +1,44 @@
<BOUCLE_principale(ARTICLES) {id_article}>
<!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_ARTICLE|url_absolue{#URL_SITE_SPIP})" />]
<INCLURE{fond=inclure/head} />
</head>
<body>
<INCLURE{fond=inclure/header} />
<main class="article "role="main">
[(#REM) Contenu principal : contenu de l'article]
<div class="titre">
<h1>#TITRE</h1>
<p clas="date"><time title="[(#DATE|date_iso)]"><:archil:publie_le:> [(#DATE|nom_jour) ][(#DATE|affdate)]</time></p>
</div>
[<div>(#CHAPO|image_reduire{672,*})</div>]
[<div>(#TEXTE|image_reduire{672,*})</div>]
[<hr /><p class="#EDIT{hyperlien} hyperlien"><:voir_en_ligne:> : <a href="(#URL_SITE)">[(#NOM_SITE|sinon{[(#URL_SITE|couper{80})]})]</a></p>]
[<div class="#EDIT{ps} ps surlignable"><hr />(#PS|image_reduire{672,*})</div>]
[(#REM) Menu de navigation mots-cles ]
#MODELE{article_mots}
[(#REM) Forum de l'article ]
<INCLURE{fond=inclure/forum,id_article} />
[<h2 class="forum-titre"><:forum:form_pet_message_commentaire:></h2>
(#FORMULAIRE_FORUM)]
</main><!--.main-->
<INCLURE{fond=inclure/footer,self=#SELF} />
</body>
</html>
</BOUCLE_principale>

16
lang/archil_fr.php Normal file
View File

@ -0,0 +1,16 @@
<?php
// This is a SPIP language file -- Ceci est un fichier langue de SPIP
$GLOBALS[$GLOBALS['idx_lang']] = array(
//
// spip-core
//
'accueil_site' => 'Accueil',
// L
'lire_la_suite' => 'Lire la suite →',
// P
'publie_le' => 'Publié le'
);

View File

@ -1,7 +1,7 @@
<paquet <paquet
prefix="archil" prefix="archil"
categorie="squelette" categorie="squelette"
version="0.0.3" version="0.0.4"
etat="dev" etat="dev"
compatibilite="[4.0.0;4.2.*]" compatibilite="[4.0.0;4.2.*]"
logo="images/archil-128.png" logo="images/archil-128.png"