add more og tags

main
TZGyn 1 year ago
parent 16bbe54c91
commit 56764e4aa6
Signed by: TZGyn
GPG Key ID: 122EAF77AE81FD4A

@ -15,6 +15,7 @@ import { generateId } from 'lucia'
export const load = (async (event) => { export const load = (async (event) => {
return { return {
form: await superValidate(zod(formSchema)), form: await superValidate(zod(formSchema)),
og_url: env.ORIGIN + '/signup',
} }
}) satisfies PageServerLoad }) satisfies PageServerLoad

@ -20,6 +20,10 @@
property="og:description" property="og:description"
content="Kon.sh URL shortener - free, open source link shortener with analytics, custom qr code and custom name. Bitly/tiny url alternative" /> content="Kon.sh URL shortener - free, open source link shortener with analytics, custom qr code and custom name. Bitly/tiny url alternative" />
<meta property="og:image" content="/og.png" /> <meta property="og:image" content="/og.png" />
<meta property="og:type" content="website" />
<meta
property="og:url"
content={$page.data.og_url || 'https://app.kon.sh'} />
</svelte:head> </svelte:head>
<ModeWatcher /> <ModeWatcher />

Loading…
Cancel
Save