diff --git a/src/components/PhotoTeaser.astro b/src/components/PhotoTeaser.astro index 6600f44e..f091eb5a 100644 --- a/src/components/PhotoTeaser.astro +++ b/src/components/PhotoTeaser.astro @@ -21,7 +21,7 @@ const { title, image } = data width={202} height={202} src={image} - alt={title} + alt={`Photo for ${title}`} title={title} objectFit /> diff --git a/src/components/PostTeaser/index.astro b/src/components/PostTeaser/index.astro index 4efc97eb..9de34aea 100644 --- a/src/components/PostTeaser/index.astro +++ b/src/components/PostTeaser/index.astro @@ -21,7 +21,7 @@ const { image } = post.data as CollectionEntry<'articles'>['data'] + <> + + + + ) } {style && } { - isProduction && ( -