# This is a combination of 3 commits.
# This is the 1st commit message: fix: redirects + update root cdn url # This is the commit message #2: chore: workflow # This is the commit message #3: chore: naming
This commit is contained in:
parent
ed88631875
commit
88a4ec4acd
45 changed files with 1122 additions and 133 deletions
|
@ -19,16 +19,16 @@
|
|||
{% if shape == 'square' %}
|
||||
<img
|
||||
srcset="
|
||||
https://coryd-dev.b-cdn.net{{ item.image }}?width=200&h=200&aspect_ratio=1:1 200w,
|
||||
https://coryd-dev.b-cdn.net{{ item.image }}?width=400&h=400&aspect_ratio=1:1 400w,
|
||||
https://coryd-dev.b-cdn.net{{ item.image }}?width=800&h=800&aspect_ratio=1:1 800w,
|
||||
https://coryd-dev.b-cdn.net{{ item.image }}?width=1200&h=1200&aspect_ratio=1:1 1200w
|
||||
https://cdn.coryd.dev{{ item.image }}?width=200&h=200&aspect_ratio=1:1 200w,
|
||||
https://cdn.coryd.dev{{ item.image }}?width=400&h=400&aspect_ratio=1:1 400w,
|
||||
https://cdn.coryd.dev{{ item.image }}?width=800&h=800&aspect_ratio=1:1 800w,
|
||||
https://cdn.coryd.dev{{ item.image }}?width=1200&h=1200&aspect_ratio=1:1 1200w
|
||||
"
|
||||
sizes="(max-width: 450px) 200px,
|
||||
(max-width: 850px) 400px,
|
||||
(max-width: 100px) 800px,
|
||||
1200px"
|
||||
src="https://coryd-dev.b-cdn.net{{ item.image }}?width=1200&h=1200&aspect_ratio=1:1"
|
||||
src="https://cdn.coryd.dev{{ item.image }}?width=1200&h=1200&aspect_ratio=1:1"
|
||||
alt="{{ alt }}"
|
||||
loading="{{ loadingStrategy }}"
|
||||
decoding="async"
|
||||
|
@ -38,16 +38,16 @@
|
|||
{% else %}
|
||||
<img
|
||||
srcset="
|
||||
https://coryd-dev.b-cdn.net{{ item.image }}?w=200&aspect_ratio=2:3 200w,
|
||||
https://coryd-dev.b-cdn.net{{ item.image }}?w=400&aspect_ratio=2:3 400w,
|
||||
https://coryd-dev.b-cdn.net{{ item.image }}?w=800&aspect_ratio=2:3 800w,
|
||||
https://coryd-dev.b-cdn.net{{ item.image }}?w=1200&aspect_ratio=2:3 1200w
|
||||
https://cdn.coryd.dev{{ item.image }}?w=200&aspect_ratio=2:3 200w,
|
||||
https://cdn.coryd.dev{{ item.image }}?w=400&aspect_ratio=2:3 400w,
|
||||
https://cdn.coryd.dev{{ item.image }}?w=800&aspect_ratio=2:3 800w,
|
||||
https://cdn.coryd.dev{{ item.image }}?w=1200&aspect_ratio=2:3 1200w
|
||||
"
|
||||
sizes="(max-width: 450px) 200px,
|
||||
(max-width: 850px) 400px,
|
||||
(max-width: 1000px) 800px,
|
||||
1200px"
|
||||
src="https://coryd-dev.b-cdn.net{{ item.image }}?w=1200&aspect_ratio=2:3"
|
||||
src="https://cdn.coryd.dev{{ item.image }}?w=1200&aspect_ratio=2:3"
|
||||
alt="{{ alt }}"
|
||||
loading="{{ loadingStrategy }}"
|
||||
decoding="async"
|
||||
|
|
|
@ -5,16 +5,16 @@
|
|||
<div class="meta">
|
||||
<img
|
||||
srcset="
|
||||
https://coryd-dev.b-cdn.net{{ item.image }}?aspect_ratio=1:1&width=64 256w 64w,
|
||||
https://coryd-dev.b-cdn.net{{ item.image }}?aspect_ratio=1:1&width=128 128w,
|
||||
https://coryd-dev.b-cdn.net{{ item.image }}?aspect_ratio=1:1&width=256 256w,
|
||||
https://coryd-dev.b-cdn.net{{ item.image }}?aspect_ratio=1:1&width=512 512w
|
||||
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=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"
|
||||
src="https://coryd-dev.b-cdn.net{{ item.image }}?aspect_ratio=1:1&width=512"
|
||||
src="https://cdn.coryd.dev{{ item.image }}?aspect_ratio=1:1&width=512"
|
||||
alt="{{ alt }}"
|
||||
loading="lazy"
|
||||
decoding="async"
|
||||
|
|
|
@ -23,16 +23,16 @@
|
|||
{%- endcapture -%}
|
||||
<img
|
||||
srcset="
|
||||
https://coryd-dev.b-cdn.net{{ item.backdrop }}?aspect_ratio=1:.5625&width=256 256w,
|
||||
https://coryd-dev.b-cdn.net{{ item.backdrop }}?aspect_ratio=1:.5625&width=512 512w,
|
||||
https://coryd-dev.b-cdn.net{{ item.backdrop }}?aspect_ratio=1:.5625&width=1024 1024w,
|
||||
https://coryd-dev.b-cdn.net{{ item.backdrop }}?aspect_ratio=1:.5625&width=2048 2048w
|
||||
https://cdn.coryd.dev{{ item.backdrop }}?aspect_ratio=1:.5625&width=256 256w,
|
||||
https://cdn.coryd.dev{{ item.backdrop }}?aspect_ratio=1:.5625&width=512 512w,
|
||||
https://cdn.coryd.dev{{ item.backdrop }}?aspect_ratio=1:.5625&width=1024 1024w,
|
||||
https://cdn.coryd.dev{{ item.backdrop }}?aspect_ratio=1:.5625&width=2048 2048w
|
||||
"
|
||||
sizes="(max-width: 450px) 256px,
|
||||
(max-width: 850px) 512px,
|
||||
(max-width: 1000px) 1024px,
|
||||
2048px"
|
||||
src="https://coryd-dev.b-cdn.net{{ item.backdrop }}?aspect_ratio=1:.5625&width=2048"
|
||||
src="https://cdn.coryd.dev{{ item.backdrop }}?aspect_ratio=1:.5625&width=2048"
|
||||
alt="{{ alt }}"
|
||||
loading="{{ loadingStrategy }}"
|
||||
decoding="async"
|
||||
|
|
|
@ -7,16 +7,16 @@
|
|||
</div>
|
||||
<img
|
||||
srcset="
|
||||
https://coryd-dev.b-cdn.net{{ movie.backdrop }}?aspect_ratio=1:.5625&width=256 256w,
|
||||
https://coryd-dev.b-cdn.net{{ movie.backdrop }}?aspect_ratio=1:.5625&width=512 512w,
|
||||
https://coryd-dev.b-cdn.net{{ movie.backdrop }}?aspect_ratio=1:.5625&width=1024 1024w,
|
||||
https://coryd-dev.b-cdn.net{{ movie.backdrop }}?aspect_ratio=1:.5625&width=2048 2048w
|
||||
https://cdn.coryd.dev{{ movie.backdrop }}?aspect_ratio=1:.5625&width=256 256w,
|
||||
https://cdn.coryd.dev{{ movie.backdrop }}?aspect_ratio=1:.5625&width=512 512w,
|
||||
https://cdn.coryd.dev{{ movie.backdrop }}?aspect_ratio=1:.5625&width=1024 1024w,
|
||||
https://cdn.coryd.dev{{ movie.backdrop }}?aspect_ratio=1:.5625&width=2048 2048w
|
||||
"
|
||||
sizes="(max-width: 450px) 256px,
|
||||
(max-width: 850px) 512px,
|
||||
(max-width: 1000px) 1024px,
|
||||
2048px"
|
||||
src="https://coryd-dev.b-cdn.net{{ movie.backdrop }}?aspect_ratio=1:.5625&width=2048"
|
||||
src="https://cdn.coryd.dev{{ movie.backdrop }}?aspect_ratio=1:.5625&width=2048"
|
||||
alt="{{ alt }}"
|
||||
loading="eager"
|
||||
decoding="async"
|
||||
|
|
Reference in a new issue