mirror of https://github.com/jpanther/congo.git
q20 is enough
parent
afa25640c3
commit
8cc393374c
|
@ -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 }}"
|
||||||
|
|
Loading…
Reference in New Issue