Remove dead code

This commit is contained in:
Lukas Bestle
2022-08-20 18:09:21 +02:00
parent a548af97e2
commit b800bcb5be
2 changed files with 0 additions and 29 deletions

View File

@@ -1,20 +0,0 @@
<?php
/*
Snippets are a great way to store code snippets for reuse
or to keep your templates clean.
This gallery snippet is used in the gallery plugin (`/site/plugins/gallery`)
More about snippets:
https://getkirby.com/docs/guide/templates/snippets
*/
?>
<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>