Files
summer-cms/resources/views/_photoblock.antlers.html
2026-01-29 17:35:49 +01:00

10 lines
369 B
HTML

<div class="cell has-text-centered">
{{? $angle = rand(-15,15); ?}}
<img src="{{ glide:url preset="thumbnail" fm="webp"}}"
data-url-full="{{ glide:url }}"
alt="{{ alt }}"
class="photo"
style="transform: rotate({{ $angle }}deg);">
<img src="{{ glide:url w="1280" q="70" fm="webp"}}" alt="{{ alt }}" class="photo-full">
</div>