chore: cdn url in cms + og images
This commit is contained in:
parent
35b56b75f2
commit
c23ef6bd0d
36 changed files with 102 additions and 101 deletions
|
@ -14,14 +14,14 @@ schema: movie
|
|||
<article class="watching focus">
|
||||
<img
|
||||
srcset="
|
||||
https://cdn.coryd.dev{{ movie.backdrop }}?class=bannersm&type=webp 256w,
|
||||
https://cdn.coryd.dev{{ movie.backdrop }}?class=bannermd&type=webp 512w,
|
||||
https://cdn.coryd.dev{{ movie.backdrop }}?class=bannerbase&type=webp 1024w
|
||||
{{ globals.cdn_url }}{{ movie.backdrop }}?class=bannersm&type=webp 256w,
|
||||
{{ globals.cdn_url }}{{ movie.backdrop }}?class=bannermd&type=webp 512w,
|
||||
{{ globals.cdn_url }}{{ movie.backdrop }}?class=bannerbase&type=webp 1024w
|
||||
"
|
||||
sizes="(max-width: 450px) 256px,
|
||||
(max-width: 850px) 512px,
|
||||
1024px"
|
||||
src="https://cdn.coryd.dev{{ movie.backdrop }}?class=bannersm&type=webp"
|
||||
src="{{ globals.cdn_url }}{{ movie.backdrop }}?class=bannersm&type=webp"
|
||||
alt="{{ alt }}"
|
||||
class="image-banner"
|
||||
loading="eager"
|
||||
|
|
Reference in a new issue