Rudimentary import for SEO
This commit is contained in:
parent
8166ee31dd
commit
bf6ff79391
1 changed files with 9 additions and 0 deletions
9
src/lib/seo.ts
Normal file
9
src/lib/seo.ts
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
export function head({ title, description }: { title?: string; description?: string }) {
|
||||
return `
|
||||
<title>${title ?? 'Granblue.team'}</title>
|
||||
${description ? `<meta name="description" content="${description}">` : ''}
|
||||
<meta property="og:title" content="${title ?? 'Granblue.team'}">
|
||||
${description ? `<meta property="og:description" content="${description}">` : ''}
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
`
|
||||
}
|
||||
Loading…
Reference in a new issue