-
Notifications
You must be signed in to change notification settings - Fork 6
/
BaseHead.astro
53 lines (50 loc) · 1.44 KB
/
BaseHead.astro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
---
import Cookies from "./Cookies.astro";
import GoogleAnalytics from "./GoogleAnalytics.astro";
import { SEO } from "astro-seo";
const {
title = "The OpenAMP Project",
description = "OpenAMP (Open Asymmetric Multi-Processing) seeks to standardize the interactions between operating environments in a heterogeneous embedded system through open source solutions for Asymmetric MultiProcessing (AMP).",
type = "website",
} = Astro.props;
---
<head>
<title>{title}</title>
<meta property="description" content={description} />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta charset="utf-8" />
<Cookies />
<GoogleAnalytics id="G-PT82VBC5KD" />
<SEO
title={title}
description={description}
openGraph={{
basic: {
title: title,
type: type,
image: "https://www.openampproject.org/images/social-media-image.png",
},
}}
twitter={{
creator: "@LinaroOrg",
}}
extend={{
link: [
{ rel: "icon", href: "/favicon.png" },
{
rel: "me",
href: "https://mastodon.org.uk/@LinaroLtd@mastodon.social",
},
],
meta: [
{
name: "twitter:image",
content:
"https://www.openampproject.org/images/openAMP_share_image.png",
},
{ name: "twitter:title", content: title },
{ name: "twitter:description", content: description },
],
}}
/>
</head>