Added meta tags

Added HTML meta tags
This commit is contained in:
Cyril Šebek 2024-07-08 21:41:25 +02:00
parent ed7add8ae0
commit 397ba05c7c
Signed by: blboun3
SSH Key Fingerprint: SHA256:n9dMtOPzgsD+CCerUJslEnU2dzVanbaIv0XDQVRVjeg

View File

@ -15,6 +15,7 @@ const t = useTranslations(lang)
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content={description} />
<meta name="author" content="Cyril Šebek" />
<meta name="generator" content={Astro.generator} />
<link rel="shortcut icon" href={t("favicon")}>
<link rel="shortcut icon" href={t("favicon")} type="image/x-icon">
@ -25,7 +26,7 @@ const t = useTranslations(lang)
<script transition:persist is:raw is:inline>
document.addEventListener('astro:after-swap', () => {document.documentElement.setAttribute("data-theme", localStorage.getItem("data-theme") || document.documentElement.getAttribute("data-theme"));});
</script>
<Navbar/>
<Navbar />
<div class="bg-bkg h-dvh overflow-y-scroll snap-mandatory snap-y scroll-smooth " transition:animate="fade" style="scrollbar-width: thin;">
<slot />
</div>