Browse Source

plan amélioré, rubrique crée.

master
cent20@gmail.com 4 years ago
parent
commit
c315a84eb6
  1. 25
      article.html
  2. 1
      inclure/header_menu.html
  3. 3
      inclure/header_menu_sommaire.html
  4. 55
      plan.html
  5. 101
      rubrique.html
  6. 3
      sommaire.html

25
article.html

@ -36,15 +36,28 @@
<section class="wrapper style5">
<div class="inner">
[(#TEXTE|image_reduire{800,*})]
<BOUCLE_motscles(MOTS){id_article}>
[<a href="#URL_MOT" class="image" style="padding: 10px">(#LOGO_MOT|image_reduire{*,64})</a>]
</BOUCLE_motscles>
[(#TEXTE|image_reduire{800,*})]
</div>
</section>
<B_motscles>
<section class="wrapper style3 special">
<div class="inner">
<h2><:mots_clefs:></h2>
<BOUCLE_motscles(MOTS){id_article}>
[<a href="#URL_MOT" class="image" style="padding: 10px">(#LOGO_MOT|image_reduire{*,64})</a>]
</BOUCLE_motscles>
</div>
</section>
</B_motscles>
</article>

1
inclure/header_menu.html

@ -11,7 +11,6 @@
<li><a href="#URL_RUBRIQUE">#TITRE</a></li>
</BOUCLE_racine_menu>
<li><a href="#URL_ECRIRE">Espace Privé</a></li>
<li><a href="#URL_SITE_SPIP/spip.php?&var_mode=calcul">recalculer</a></li>
</ul>
</div>
</li>

3
inclure/header_menu_sommaire.html

@ -10,8 +10,7 @@
<BOUCLE_racine_menu(RUBRIQUES){racine}>
<li><a href="#URL_RUBRIQUE">#TITRE</a></li>
</BOUCLE_racine_menu>
<li><a href="#URL_ECRIRE">Espace Privé</a></li>
<li><a href="#URL_SITE_SPIP/spip.php?&var_mode=calcul">recalculer</a></li>
<li><a href="#URL_ECRIRE">&#128273; Espace Privé</a></li>
</ul>
</div>
</li>

55
plan.html

@ -19,30 +19,43 @@
<p>#SOUSTITRE</p>
</header>
<B_racine>
<BOUCLE_racine(RUBRIQUES){racine}>
<section class="wrapper alt style2">
<section class="spotlight">
[<div class="image"><img src="(#LOGO_RUBRIQUE|extraire_attribut{src})" alt="" /></div>]
<div class="content">
<h2>#TITRE</h2>
#DESCRIPTIF
</ul>
</div>
</section>
</section>
<B_articles>
<section class="wrapper style5">
<div class="inner">
<BOUCLE_articles(ARTICLES) {id_rubrique} {par num titre}{!par date}>
<h4><a href="#URL_ARTICLE">#TITRE</a></h4>
</BOUCLE_articles>
</div>
</section>
</B_articles>
</BOUCLE_racine>
</B_racine>
Publiez un article dans une rubique racine pour afficher du contenu.
<//B_racine>
<section class="wrapper style3 special">
<div class="inner">
<B_rubriques>
<BOUCLE_rubriques(RUBRIQUES) {id_parent} {par num titre}{!par date}>
<h3><a href="#URL_RUBRIQUE">#TITRE</a></h3>
<B_articles>
<ul class="spip">
<BOUCLE_articles(ARTICLES) {id_rubrique} {par num titre}{!par date}>
<li><a href="#URL_ARTICLE">#TITRE</a></li>
</BOUCLE_articles>
</ul>
</B_articles>
<BOUCLE_sous_rubriques(BOUCLE_rubriques)></BOUCLE_sous_rubriques>
</BOUCLE_rubriques>
</B_rubriques>
<h3><a href="#URL_RUBRIQUE"><:mots_clefs:></a></h3>
<h2><:mots_clefs:></h2>
<BOUCLE_motscles(MOTS)>
<B_mot_ayant_un_article>
[<a href="#URL_MOT" class="image" style="padding: 10px">(#LOGO_MOT|image_reduire{*,64})</a>]

101
rubrique.html

@ -1,88 +1,65 @@
<!DOCTYPE HTML>
<!--
Spectral by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<INCLURE{fond=inclure/head,id_article}>
<INCLURE{fond=inclure/head,id_rubrique}>
</head>
<body class="is-preload">
<!-- Page Wrapper -->
<div id="page-wrapper">
<!-- Header -->
<header id="header">
<h1><a href="index.html">Spectral</a></h1>
<nav id="nav">
<ul>
<li class="special">
<a href="#menu" class="menuToggle"><span>Menu</span></a>
<div id="menu">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="generic.html">Generic</a></li>
<li><a href="elements.html">Elements</a></li>
<li><a href="#">Sign Up</a></li>
<li><a href="#">Log In</a></li>
</ul>
</div>
</li>
</ul>
</nav>
</header>
<!-- Header & Menu -->
<INCLURE{fond=inclure/header_menu}>
<!-- Main -->
<BOUCLE_principale(RUBRIQUES){id_rubrique}>
<article id="main">
<header>
<h2>Generic Page</h2>
<p>Aliquam ut ex ut interdum donec amet imperdiet eleifend</p>
<h2>[(#TITRE|supprimer_numero)]</h2>
<p>#DESCRIPTIF </p>
</header>
<section class="wrapper style5">
<section class="wrapper style4 alt">
<div class="inner">
<p>
<B_FilAriane>
<br /><a href="#URL_SITE_SPIP"><:accueil_site:></a> &gt;
<BOUCLE_FilAriane(HIERARCHIE){id_article}>
<a href="#URL_RUBRIQUE">[(#TITRE|supprimer_numero)]</a> &gt;
</BOUCLE_FilAriane>
<BOUCLE_art(ARTICLES) {id_rubrique} > #TOTAL_BOUCLE [(#TOTAL_BOUCLE|>={2}|?{<:articles:>, <:article:>})]</BOUCLE_art>
</p>
</div>
</section>
<section class="wrapper style5">
<div class="inner">
<h3>Lorem ipsum dolor</h3>
<p>Morbi mattis mi consectetur tortor elementum, varius pellentesque velit convallis. Aenean tincidunt lectus auctor mauris maximus, ac scelerisque ipsum tempor. Duis vulputate ex et ex tincidunt, quis lacinia velit aliquet. Duis non efficitur nisi, id malesuada justo. Maecenas sagittis felis ac sagittis semper. Curabitur purus leo, tempus sed finibus eget, fringilla quis risus. Maecenas et lorem quis sem varius sagittis et a est. Maecenas iaculis iaculis sem. Donec vel dolor at arcu tincidunt bibendum. Interdum et malesuada fames ac ante ipsum primis in faucibus. Fusce ut aliquet justo. Donec id neque ipsum. Integer eget ultricies odio. Nam vel ex a orci fringilla tincidunt. Aliquam eleifend ligula non velit accumsan cursus. Etiam ut gravida sapien.</p>
<p>Vestibulum ultrices risus velit, sit amet blandit massa auctor sit amet. Sed eu lectus sem. Phasellus in odio at ipsum porttitor mollis id vel diam. Praesent sit amet posuere risus, eu faucibus lectus. Vivamus ex ligula, tempus pulvinar ipsum in, auctor porta quam. Proin nec dui cursus, posuere dui eget interdum. Fusce lectus magna, sagittis at facilisis vitae, pellentesque at etiam. Quisque posuere leo quis sem commodo, vel scelerisque nisi scelerisque. Suspendisse id quam vel tortor tincidunt suscipit. Nullam auctor orci eu dolor consectetur, interdum ullamcorper ante tincidunt. Mauris felis nec felis elementum varius.</p>
<hr />
<h4>Feugiat aliquam</h4>
<p>Nam sapien ante, varius in pulvinar vitae, rhoncus id massa. Donec varius ex in mauris ornare, eget euismod urna egestas. Etiam lacinia tempor ipsum, sodales porttitor justo. Aliquam dolor quam, semper in tortor eu, volutpat efficitur quam. Fusce nec fermentum nisl. Aenean erat diam, tempus aliquet erat.</p>
<p>Etiam iaculis nulla ipsum, et pharetra libero rhoncus ut. Phasellus rutrum cursus velit, eget condimentum nunc blandit vel. In at pulvinar lectus. Morbi diam ante, vulputate et imperdiet eget, fermentum non dolor. Ut eleifend sagittis tincidunt. Sed viverra commodo mi, ac rhoncus justo. Duis neque ligula, elementum ut enim vel, posuere finibus justo. Vivamus facilisis maximus nibh quis pulvinar. Quisque hendrerit in ipsum id tellus facilisis fermentum. Proin mauris dui, at vestibulum sit amet, auctor bibendum neque.</p>
[(#TEXTE|image_reduire{800,*})]
<BOUCLE_articles(ARTICLES) {id_rubrique} {par num titre}{!par date}>
<h4><a href="#URL_ARTICLE">#TITRE</a></h4>
</BOUCLE_articles>
</div>
</section>
</article>
</BOUCLE_principale>
<!-- Footer -->
<footer id="footer">
<ul class="icons">
<li><a href="#" class="icon brands fa-twitter"><span class="label">Twitter</span></a></li>
<li><a href="#" class="icon brands fa-facebook-f"><span class="label">Facebook</span></a></li>
<li><a href="#" class="icon brands fa-instagram"><span class="label">Instagram</span></a></li>
<li><a href="#" class="icon brands fa-dribbble"><span class="label">Dribbble</span></a></li>
<li><a href="#" class="icon solid fa-envelope"><span class="label">Email</span></a></li>
</ul>
<ul class="copyright">
<li>&copy; Untitled</li><li>Design: <a href="http://html5up.net">HTML5 UP</a></li>
</ul>
</footer>
<INCLURE{fond=inclure/footer}>
</div>
<!-- Scripts -->
[<script src="(#CHEMIN{assets/js/jquery.min.js})"></script>]
[<script src="(#CHEMIN{assets/js/jquery.scrollex.min.js})"></script>]
[<script src="(#CHEMIN{assets/js/jquery.scrolly.min.js})"></script>]
[<script src="(#CHEMIN{assets/js/browser.min.js})"></script>]
[<script src="(#CHEMIN{assets/js/breakpoints.min.js})"></script>]
[<script src="(#CHEMIN{assets/js/util.js})"></script>]
[<script src="(#CHEMIN{assets/js/main.js})"></script>]
<INCLURE{fond=inclure/script}>
</body>
</html>

3
sommaire.html

@ -72,8 +72,7 @@
<section id="three" class="wrapper style3 special">
<div class="inner">
<header class="major">
<h2>Article héros 2</h2>
<p>Descriptif de l'article héros.</p>
<h2><:mots_clefs:></h2>
</header>
<ul class="features">
<BOUCLE_groupes_de_mots(GROUPES_MOTS){par titre}>

Loading…
Cancel
Save