test slash et entrée de chapitres

This commit is contained in:
sarahgarcin1 2026-03-24 02:34:20 +01:00
parent 54ce5faf08
commit 221d5abf9a
8 changed files with 116 additions and 49 deletions

View file

@ -18,6 +18,14 @@
</section>
<?php foreach($site->index()->filterBy('intendedTemplate', 'chapitre')->listed() as $chapitre):?>
<!-- Interpage chapitre -->
<?php if($cover = $chapitre->cover()->toFile()):?>
<div class="interpage full-bleed-image">
<figure>
<img src="<?= $cover->url() ?>" alt="">
</figure>
</div>
<?php endif;?>
<section class="chapter <?= $chapitre->typeof()->esc()?>" data-chapter="<?= $chapitre->typeof()->esc()?>" id="<?= $chapitre->uid()?>">
<!-- titre courant -->
@ -25,30 +33,28 @@
<span class="nav-author"><?= $chapitre->author()->html()->smartypants() ?></span>
<span class="nav-title"><?= $chapitre->title()->html()->smartypants() ?></span>
<!-- Interpage chapitre -->
<?php if($cover = $chapitre->cover()->toFile()):?>
<div class="interpage full-bleed-image full-page">
<figure>
<img src="<?= $cover->url() ?>" alt="">
</figure>
</div>
<?php endif;?>
<!-- Entrées des chapitres -->
<div class="chapter-header">
<div class="chapter-header">
<p class="type"><?= $chapitre->typeof()?></p>
<div class="hgroup-before">++++<br>+++++<br>+++<br>++<br>
+<br>+<br>+<br>+<br>+<br>+<br>
+++<br>++<br>+<br>+<br>
+<br><br>+<br>++<br>+<br>
</div>
<!-- <div class="hgroup-before">////<br>/////<br>///<br>//<br>
/<br>/<br>/<br>/<br>/<br>/<br>
///<br>//<br>/<br>/<br>
/<br><br>/<br>//<br>/<br>
</div> -->
<div class="hgroup">
<div class="title-before">++--------------------------+</div>
<!-- <div class="title-before">++--------------------------+</div> -->
<div class="title-before">/////////// ESSAI ///////////<br>/////////////////////////////</div>
<h2><span><?= $chapitre->title()->html()->smartypants() ?></span></h2>
<div class="title-between">/</div>
<p class="author"><span><?= $chapitre->author()->html()->smartypants() ?></span></p>
<div class="title-after">+--------------------------++</div>
<!-- <div class="title-after">//////////////////////<br>//////////////////////</div> -->
<!-- <div class="title-after">+--------------------------++</div> -->
</div>
<div class="hgroup-after">+<br>++<br>+++<br>++++<br>+++<br>++<br>+<br></div>
<!-- <div class="hgroup-after">+<br>++<br>+++<br>++++<br>+++<br>++<br>+<br></div> -->
</div>
<div class="chapter-bio">
<?= $chapitre->bio()->kt()?>
</div>
<div class="chapter-content">