feat: independent cdn
This commit is contained in:
parent
152f7f89d3
commit
38cca61033
25 changed files with 125 additions and 123 deletions
|
@ -16,16 +16,16 @@ schema: book
|
|||
<div class="book-display">
|
||||
<img
|
||||
srcset="
|
||||
https://coryd.dev/.netlify/images/?url={{ book.image }}&fit=cover&w=203&h=309&fm=webp&q=40 203w,
|
||||
https://coryd.dev/.netlify/images/?url={{ book.image }}&fit=cover&w=406&h=618&fm=webp&q=40 406w,
|
||||
https://coryd.dev/.netlify/images/?url={{ book.image }}&fit=cover&w=812&h=1236&fm=webp&q=40 812w,
|
||||
https://coryd.dev/.netlify/images/?url={{ book.image }}&fit=cover&w=1624&h=2472&fm=webp&q=40 1624w
|
||||
https://coryd-dev.b-cdn.net{{ book.image }}?w=203&aspect_ratio=2:3 203w,
|
||||
https://coryd-dev.b-cdn.net{{ book.image }}?w=406&aspect_ratio=2:3 406w,
|
||||
https://coryd-dev.b-cdn.net{{ book.image }}?w=812&aspect_ratio=2:3 812w,
|
||||
https://coryd-dev.b-cdn.net{{ book.image }}?w=1624&aspect_ratio=2:3 1624w
|
||||
"
|
||||
sizes="(max-width: 450px) 203px,
|
||||
(max-width: 850px) 406px,
|
||||
(max-width: 1000px) 812px,
|
||||
1624px"
|
||||
src="https://coryd.dev/.netlify/images/?url={{ book.image }}&fit=cover&w=1624&h=2472&fm=webp&q=40"
|
||||
src="https://coryd-dev.b-cdn.net{{ book.image }}?w=1624&aspect_ratio=2:3"
|
||||
alt="{{ alt }}"
|
||||
loading="eager"
|
||||
decoding="async"
|
||||
|
|
|
@ -19,16 +19,16 @@ schema: books
|
|||
<a href="{{ book.url }}">
|
||||
<img
|
||||
srcset="
|
||||
https://coryd.dev/.netlify/images/?url={{ book.image }}&fit=cover&w=203&h=309&fm=webp&q=40 203w,
|
||||
https://coryd.dev/.netlify/images/?url={{ book.image }}&fit=cover&w=406&h=618&fm=webp&q=40 406w,
|
||||
https://coryd.dev/.netlify/images/?url={{ book.image }}&fit=cover&w=812&h=1236&fm=webp&q=40 812w,
|
||||
https://coryd.dev/.netlify/images/?url={{ book.image }}&fit=cover&w=1624&h=2472&fm=webp&q=40 1624w
|
||||
https://coryd-dev.b-cdn.net{{ book.image }}?width=203&aspect_ratio=.65:1 203w,
|
||||
https://coryd-dev.b-cdn.net{{ book.image }}?width=406&aspect_ratio=.65:1 406w,
|
||||
https://coryd-dev.b-cdn.net{{ book.image }}?width=812&aspect_ratio=.65:1 812w,
|
||||
https://coryd-dev.b-cdn.net{{ book.image }}?width=1624&aspect_ratio=.65:1 1624w
|
||||
"
|
||||
sizes="(max-width: 450px) 203px,
|
||||
(max-width: 850px) 406px,
|
||||
(max-width: 1000px) 812px,
|
||||
1624px"
|
||||
src="https://coryd.dev/.netlify/images/?url={{ book.image }}&fit=cover&w=1624&h=2472&fm=webp&q=40"
|
||||
src="https://coryd-dev.b-cdn.net{{ book.image }}?width=1624&aspect_ratio=.65:1"
|
||||
alt="{{ alt }}"
|
||||
loading="eager"
|
||||
decoding="async"
|
||||
|
|
Reference in a new issue