blob: b13dc195501c83ca8cc770f6e42c83566d8db76c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import React from "react";
import { useSiteMetadata } from "../hooks";
export function Head(): React.ReactElement {
const { author, description, title } = useSiteMetadata();
return (
<>
<meta name="twitter:description" content={description ?? ""} />
<meta name="twitter:title" content={title ?? ""} />
<meta name="twitter:creator" content={author ?? ""} />
<meta name="twitter:card" content="summary" />
<meta name="description" content={description ?? ""} />
<title>{title}</title>
</>
);
}
|