Upgrade to rc5
This commit is contained in:
8
kirby/config/blocks/video/video.php
Executable file
8
kirby/config/blocks/video/video.php
Executable file
@@ -0,0 +1,8 @@
|
||||
<?php if ($block->url()->isNotEmpty()): ?>
|
||||
<figure>
|
||||
<?= video($block->url()) ?>
|
||||
<?php if ($block->caption()->isNotEmpty()): ?>
|
||||
<figcaption><?= $block->caption() ?></figcaption>
|
||||
<?php endif ?>
|
||||
</figure>
|
||||
<?php endif ?>
|
Reference in New Issue
Block a user