Added meta tags
Added HTML meta tags
This commit is contained in:
parent
ed7add8ae0
commit
397ba05c7c
@ -15,6 +15,7 @@ const t = useTranslations(lang)
|
|||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<meta name="description" content={description} />
|
<meta name="description" content={description} />
|
||||||
|
<meta name="author" content="Cyril Šebek" />
|
||||||
<meta name="generator" content={Astro.generator} />
|
<meta name="generator" content={Astro.generator} />
|
||||||
<link rel="shortcut icon" href={t("favicon")}>
|
<link rel="shortcut icon" href={t("favicon")}>
|
||||||
<link rel="shortcut icon" href={t("favicon")} type="image/x-icon">
|
<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>
|
<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"));});
|
document.addEventListener('astro:after-swap', () => {document.documentElement.setAttribute("data-theme", localStorage.getItem("data-theme") || document.documentElement.getAttribute("data-theme"));});
|
||||||
</script>
|
</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;">
|
<div class="bg-bkg h-dvh overflow-y-scroll snap-mandatory snap-y scroll-smooth " transition:animate="fade" style="scrollbar-width: thin;">
|
||||||
<slot />
|
<slot />
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user