From 0e41d6151bc8b4238230cb8d2d9996a56a7cf5af Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Tue, 19 Sep 2023 14:24:12 +0100 Subject: [PATCH] fixes --- src/components/PhotoTeaser.astro | 2 +- src/components/PostTeaser/index.astro | 2 +- src/components/layouts/Base/Head.astro | 25 ++++++++++++++++----- src/components/layouts/Base/SchemaOrg.astro | 3 ++- src/pages/manifest.json.ts | 2 ++ 5 files changed, 25 insertions(+), 9 deletions(-) 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 && ( -