début de mise en place de la toc. le design reste à voir
This commit is contained in:
parent
e210ed40f6
commit
0de3b29e8b
7 changed files with 44 additions and 2 deletions
|
|
@ -24,6 +24,7 @@
|
|||
<?php endslot() ?>
|
||||
<?php endsnippet() ?>
|
||||
|
||||
|
||||
<div id="main-content">
|
||||
<?php if ($page->chapo()->isNotEmpty()): ?>
|
||||
<div id="chapo">
|
||||
|
|
@ -33,7 +34,7 @@
|
|||
<?php if ($page->isHtmlMode()->isTrue()): ?>
|
||||
<?= $page->htmlBody()->kt() ?>
|
||||
<?php elseif ($page->bodyBlocks()->isNotEmpty()): ?>
|
||||
<?= $page->bodyBlocks()->toBlocks() ?>
|
||||
<?= addAnchors($page->bodyBlocks()->toBlocks()) ?>
|
||||
<?php else: ?>
|
||||
<?= $page->body() ?>
|
||||
<?php endif ?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue