page-cover with caption
All checks were successful
Deploy / Deploy to Production (push) Successful in 12s
All checks were successful
Deploy / Deploy to Production (push) Successful in 12s
This commit is contained in:
parent
c34384adab
commit
6cd89d11fb
17 changed files with 355 additions and 23 deletions
|
|
@ -23,6 +23,9 @@
|
|||
<figure class="page__cover">
|
||||
<?php snippet('picture', ['file' => $cover]) ?>
|
||||
</figure>
|
||||
<?php if ($cover->caption()->isNotEmpty()): ?>
|
||||
<p class="caption"><?= $cover->caption()->html() ?></p>
|
||||
<?php endif ?>
|
||||
<?php endif ?>
|
||||
|
||||
</header>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue