first version
This commit is contained in:
9
site/snippets/gallery.php
Executable file
9
site/snippets/gallery.php
Executable file
@@ -0,0 +1,9 @@
|
||||
<section class="gallery">
|
||||
<?php foreach ($gallery->images() as $image): ?>
|
||||
<figure>
|
||||
<a href="<?= $image->link()->or($image->url()) ?>">
|
||||
<?= $image->crop(600, 800) ?>
|
||||
</a>
|
||||
</figure>
|
||||
<?php endforeach ?>
|
||||
</section>
|
Reference in New Issue
Block a user