feat: Add SEO meta tags

This commit is contained in:
Maxime Cannoodt 2022-09-09 17:17:15 +02:00
parent 49e50f0c52
commit 290b504932
3 changed files with 38 additions and 2 deletions

View File

@ -29,7 +29,42 @@
</script>
<svelte:head>
<title>{import.meta.env.VITE_BRANDING}</title>
<title>{import.meta.env.VITE_BRANDING} — Securely share your Obsidian notes with one click.</title
>
<meta
name="title"
content="Noteshare.space — Securely share your Obsidian notes with one click."
/>
<meta
name="description"
content="Securely share your Obsidian notes with one click. Zero configuration. End-to-end encrypted. No account needed. Completely open source! Download the QuickShare extension in the Obsidian community plugin marketplace."
/>
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://noteshare.space/" />
<meta
property="og:title"
content="Noteshare.space — Securely share your Obsidian notes with one click."
/>
<meta
property="og:description"
content="Securely share your Obsidian notes with one click. Zero configuration. End-to-end encrypted. No account needed. Completely open source! Download the QuickShare extension in the Obsidian community plugin marketplace."
/>
<meta property="og:image" content="https://noteshare.space/meta.png" />
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://noteshare.space/" />
<meta
property="twitter:title"
content="Noteshare.space — Securely share your Obsidian notes with one click."
/>
<meta
property="twitter:description"
content="Securely share your Obsidian notes with one click. Zero configuration. End-to-end encrypted. No account needed. Completely open source! Download the QuickShare extension in the Obsidian community plugin marketplace."
/>
<meta property="twitter:image" content="https://noteshare.space/meta.png" />
</svelte:head>
<div class=" h-full {dark !== undefined ? '' : 'hidden'} {dark ? darkTheme : ''}">

View File

@ -7,7 +7,8 @@
</script>
<svelte:head>
<title>{import.meta.env.VITE_BRANDING} | Create share links for Obsidian in one click</title>
<title>{import.meta.env.VITE_BRANDING} — Securely share your Obsidian notes with one click.</title
>
</svelte:head>
<article class="mx-auto max-w-4xl text-zinc-900 dark:text-zinc-100">

BIN
webapp/static/meta.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB