mirror of
https://github.com/BradNut/personal-website-sveltekit
synced 2025-09-08 23:20:18 +00:00
Fix layout SEO.
This commit is contained in:
parent
c9e16283e7
commit
a6ccd20224
2 changed files with 11 additions and 2 deletions
|
|
@ -16,8 +16,6 @@
|
|||
minimum: 0.16,
|
||||
});
|
||||
|
||||
export let data;
|
||||
|
||||
const dev = process.env.NODE_ENV !== 'production';
|
||||
|
||||
$: {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue