This commit is contained in:
parent
4172bba4cc
commit
4cdb92017b
4 changed files with 25 additions and 3 deletions
|
|
@ -18,5 +18,6 @@ tabs:
|
|||
chapo:
|
||||
label: Chapo
|
||||
extends: fields/body
|
||||
help: Optionnel
|
||||
body: fields/body
|
||||
metaTab: tabs/meta
|
||||
|
|
|
|||
|
|
@ -14,6 +14,11 @@
|
|||
<?php endsnippet() ?>
|
||||
|
||||
<div id="main-content">
|
||||
<?php if ($page->chapo()->isNotEmpty()): ?>
|
||||
<div id="chapo">
|
||||
<?= $page->chapo() ?>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
<?= $page->body() ?>
|
||||
</div>
|
||||
</article>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue