fix: grumpy srcset; update deps
This commit is contained in:
parent
1f0597cc9f
commit
4dcb4a3508
3 changed files with 18 additions and 22 deletions
|
@ -5,15 +5,11 @@
|
|||
<div class="meta">
|
||||
<img
|
||||
srcset="
|
||||
https://cdn.coryd.dev{{ item.image }}?aspect_ratio=1:1&width=64 256w 64w,
|
||||
https://cdn.coryd.dev{{ item.image }}?aspect_ratio=1:1&width=64 64w,
|
||||
https://cdn.coryd.dev{{ item.image }}?aspect_ratio=1:1&width=128 128w,
|
||||
https://cdn.coryd.dev{{ item.image }}?aspect_ratio=1:1&width=256 256w,
|
||||
https://cdn.coryd.dev{{ item.image }}?aspect_ratio=1:1&width=512 512w
|
||||
"
|
||||
sizes="(max-width: 450px) 64px,
|
||||
(max-width: 850px) 128px,
|
||||
(max-width: 1000px) 256px,
|
||||
512px"
|
||||
sizes="(max-width: 1000px) 64px,
|
||||
128px"
|
||||
src="https://cdn.coryd.dev{{ item.image }}?aspect_ratio=1:1&width=512"
|
||||
alt="{{ alt }}"
|
||||
loading="lazy"
|
||||
|
|
Reference in a new issue