From 67fe3181bac58d9239fa0e73b0b031f9d6e0554a Mon Sep 17 00:00:00 2001 From: thiloho <123883702+thiloho@users.noreply.github.com> Date: Sun, 27 Apr 2025 04:31:59 +0200 Subject: [PATCH] Add meaningful text for SEO meta tags --- public/site.webmanifest | 4 ++-- src/components/Head.astro | 20 ++++++++++--------- .../blog/nixos-with-ext4-and-luks/index.md | 2 +- src/pages/404.astro | 2 +- src/pages/blog/[slug].astro | 2 +- src/pages/blog/index.astro | 5 ++++- src/pages/index.astro | 5 ++++- src/pages/legal-disclosure.astro | 5 ++++- src/pages/rss.xml.ts | 5 +++-- 9 files changed, 31 insertions(+), 19 deletions(-) diff --git a/public/site.webmanifest b/public/site.webmanifest index 981d97f..21b2cbd 100644 --- a/public/site.webmanifest +++ b/public/site.webmanifest @@ -1,6 +1,6 @@ { - "name": "MyWebSite", - "short_name": "MySite", + "name": "Thilo Hohlt", + "short_name": "THohlt", "icons": [ { "src": "/web-app-manifest-192x192.png", diff --git a/src/components/Head.astro b/src/components/Head.astro index a6341bb..2a4876f 100644 --- a/src/components/Head.astro +++ b/src/components/Head.astro @@ -12,26 +12,28 @@ const { title, description } = Astro.props; + + + + - - - - {title} - - + - - - + + { + `${title} - ${Astro.originPathname === "/" ? "Software developer" : "Thilo Hohlt"}` + } + +