Switch all pics to webp, + stuphs

This commit is contained in:
2026-01-29 12:35:41 +01:00
parent 87b5105f3f
commit 67189dd7ee
11 changed files with 90 additions and 27 deletions

View File

@ -1,6 +1,9 @@
<div class="cell">
{{? $angle = rand(-15,15); ?}}
<img src="{{ glide:url preset="thumbnail" }}" alt="{{ alt }}" class="photo"
style="transform: rotate({{ $angle }}deg);">
{{# <img src="{{ glide:url }}" alt="{{ alt }}" class="photo full"> #}}
<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>