Add meaningful text for SEO meta tags

This commit is contained in:
thiloho
2025-04-27 04:31:59 +02:00
parent f88fe15fe0
commit 67fe3181ba
9 changed files with 31 additions and 19 deletions

View File

@@ -12,26 +12,28 @@ const { title, description } = Astro.props;
<head>
<meta charset="utf-8" />
<meta name="apple-mobile-web-app-title" content="THohlt" />
<meta name="viewport" content="width=device-width" initial-scale="1.0" />
<meta name="generator" content={Astro.generator} />
<meta name="color-scheme" content="light dark" />
<link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<meta name="apple-mobile-web-app-title" content="THohlt" />
<link rel="manifest" href="/site.webmanifest" />
<meta name="viewport" content="width=device-width" />
<meta name="generator" content={Astro.generator} />
<title>{title}</title>
<meta name="description" content={description} />
<meta name="color-scheme" content="light dark" />
<link rel="sitemap" href="/sitemap-index.xml" />
<link
rel="alternate"
type="application/rss+xml"
title="Thilo Hohlt's Blog"
href={new URL("rss.xml", Astro.url.origin)}
/>
<head>
<link rel="sitemap" href="/sitemap-index.xml" />
</head>
<title>
{
`${title} - ${Astro.originPathname === "/" ? "Software developer" : "Thilo Hohlt"}`
}
</title>
<meta name="description" content={description} />
<ClientRouter />
<script is:inline>
const setTheme = () => {