Skip to content
This integration is unmaintained due to lack of time. It should mostly work but do not expect fixes or new features.

I18nHead

This component automatically generates alternate links to improve SEO.

src/layouts/Layout.astro
1
---
2
import I18nHead from "@astrolicious/i18n/components/I18nHead.astro"
3
---
4
<html>
5
<head>
6
<meta charset="utf-8" />
7
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
8
<meta name="viewport" content="width=device-width" />
9
<meta name="generator" content={Astro.generator} />
10
<I18nHead />
11
<slot name="head" />
12
</head>
13
<body>
14
<slot />
15
</body>
16
</html>