fix: encode

This commit is contained in:
Cory Dransfeldt 2024-10-17 16:58:52 -07:00
parent bbae08a925
commit d0a4a67e12
No known key found for this signature in database
11 changed files with 16 additions and 45 deletions

View file

@ -24,7 +24,7 @@ schema: book
(max-width: 1000px) 812px,
812px"
src="{{ globals.cdn_url }}{{ book.image }}?class=verticalsm&type=webp"
alt="{{ alt }}"
alt="{{ alt | replaceQuotes }}"
loading="lazy"
decoding="async"
width="200"

View file

@ -26,7 +26,7 @@ schema: books
sizes="(max-width: 450px) 200px,
400px"
src="{{ globals.cdn_url }}{{ book.image }}?class=verticalsm&type=webp"
alt="{{ alt }}"
alt="{{ alt | replaceQuotes }}"
loading="lazy"
decoding="async"
width="200"

View file

@ -32,7 +32,7 @@ schema: artist
(max-width: 850px) 400px,
800px"
src="{{ globals.cdn_url }}{{ artist.image }}?class=w200&type=webp"
alt="{{ alt }}"
alt="{{ alt | replaceQuotes }}"
loading="eager"
decoding="async"
width="200"

View file

@ -32,7 +32,7 @@ schema: blog
(max-width: 1000px) 800px,
1200px"
src="{{ globals.cdn_url }}{{ post.image }}?class=w200"
alt="{{ post.image_alt }}"
alt="{{ post.image_alt | replaceQuotes }}"
class="image-banner"
loading="eager"
decoding="async"

View file

@ -22,7 +22,7 @@ schema: movie
(max-width: 850px) 512px,
1024px"
src="{{ globals.cdn_url }}{{ movie.backdrop }}?class=bannersm&type=webp"
alt="{{ alt }}"
alt="{{ alt | replaceQuotes }}"
class="image-banner"
loading="eager"
decoding="async"

View file

@ -22,7 +22,7 @@ schema: show
(max-width: 850px) 512px,
1024px"
src="{{ globals.cdn_url }}{{ show.backdrop }}?class=bannersm&type=webp"
alt="{{ alt }}"
alt="{{ alt | replaceQuotes }}"
class="image-banner"
loading="eager"
decoding="async"