Compare commits

..

1 Commits

Author SHA1 Message Date
stereobooster b98a7227f8
Merge afa25640c3 into f31082dec8 2023-09-13 09:46:18 +02:00
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@
{{ end }}
{{ with $resource }}
{{ if (and (ne .MediaType.SubType "svg") $lqip) }}
{{ $lqip := (.Resize "20x webp q20").Content | base64Encode }}
{{ $lqip := (.Resize "20x webp").Content | base64Encode }}
<picture
style="background: url(data:image/webp;base64,{{ $lqip }}); background-size: cover"
class="{{ $class }}"