Fix layout SEO.

This commit is contained in:
Bradley Shellnut 2023-11-08 13:50:44 -08:00
parent c9e16283e7
commit a6ccd20224
2 changed files with 11 additions and 2 deletions

View file

@ -16,8 +16,6 @@
minimum: 0.16,
});
export let data;
const dev = process.env.NODE_ENV !== 'production';
$: {

View file

@ -12,10 +12,21 @@ export const load: PageServerLoad = async ({ fetch, setHeaders, url }) => {
description: "My name is Bradley Shellnut and I'm a Full Stack Software Engineer.",
url: new URL(url.pathname, url.origin).href,
siteName: 'Bradley Shellnut Personal Website',
type: 'website',
locale: 'en_US',
images: [
{
url: `${baseUrl}b_shell_nut_favicon.gif`,
alt: 'Bradley Shellnut Website Logo'
}
]
},
twitter: {
title: 'Home',
description: 'Home page',
card: 'summary_large_image',
image: `${baseUrl}b_shell_nut_favicon.gif`,
imageAlt: 'Bradley Shellnut Website Logo'
},
url: new URL(url.pathname, url.origin).href
});