Compare commits

...

2 Commits

Author SHA1 Message Date
stereobooster da897907b0
Merge 8cc393374c into f31082dec8 2023-10-03 23:42:26 +00:00
stereobooster 8cc393374c q20 is enough 2023-10-04 01:42:18 +02:00
1 changed files with 1 additions and 1 deletions

View File

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