You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

45 lines
1.3 KiB

import Head from "next/head";
import { useEffect } from "react";
export default function Meta(props) {
const isClient = () => !!window;
useEffect(() => {
if (isClient()) {
window.plausible =
window.plausible ||
function () {
" ";
};
{
(window.plausible.q = window.plausible.q || []).push(arguments);
}
}
}, []);
return (
<>
<Head>
<meta
name="viewport"
content="width=device-width, initial-scale=1"
/>
<meta charSet="utf-8" />
<title>{props.siteTitle}</title>
<meta
name="Description"
content="Generalist developer writing about fullstack development, system administration and free software."
></meta>
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link
rel="webmention"
href="https://webmention.io/garrit.xyz/webmention"
/>
<link
rel="pingback"
href="https://webmention.io/garrit.xyz/xmlrpc"
/>
</Head>
</>
);
}