diff options
| author | Adam Soltys <[email protected]> | 2022-11-11 22:01:16 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-11-11 22:01:16 -0800 |
| commit | eeb1feb5651e78d521a02352e7a0709a52bdddcd (patch) | |
| tree | 717f9c8c796d5206278266a42dd850f8d3bd003b /src | |
| parent | 6a10d448a212e4f9c45642e670d4c334b11a6a5a (diff) | |
| download | coinos-ui-eeb1feb5651e78d521a02352e7a0709a52bdddcd.tar.gz coinos-ui-eeb1feb5651e78d521a02352e7a0709a52bdddcd.zip | |
metadata
Diffstat (limited to 'src')
| -rw-r--r-- | src/routes/+layout.svelte | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 769a541b..e1c3ff1e 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -1,10 +1,29 @@ <script> import '../app.css'; + import { page } from '$app/stores'; + + let { host, pathname } = $page.url; </script> <svelte:head> <title>coinos</title> - <meta property="og:image" content="/icons/logo.svg" /> + <meta property="og:title" content="coinos" /> + <meta name="twitter:title" content="coinos" /> + + <meta property="og:image" content={`${host}/icons/logo.svg`} /> + + <meta property="og:type" content="website" /> + <meta property="og:description" content="An easy to use bitcoin web wallet" /> + <meta name="description" content="An easy to use bitcoin web wallet" /> + + <meta name="keywords" content="coinos easy bitcoin web wallet" /> + + <meta name="twitter:image" content={`${host}/icons/logo.svg`} /> + <meta name="twitter:card" content="summary_large_image" /> + + <meta property="og:url" content={host + pathname} /> + <meta name="twitter:site" content="@coinoswallet" /> + <meta name="twitter:creator" content="@coinoswallet" /> </svelte:head> <slot /> |
