Skip to content

Commit ac92842

Browse files
committed
limit quality of article image
1 parent c32472a commit ac92842

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/pages/articles/[article].astro

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ if (article.data.author && !author)
3535
<div class="text-center lg:px-8">
3636
<Picture
3737
loading="eager"
38+
width="1200"
39+
height="800"
40+
quality="80"
3841
formats={["avif", "webp"]}
3942
class="skeleton mx-auto md:max-w-xl md:rounded-2xl"
4043
alt="イメージ画像"

0 commit comments

Comments
 (0)