diff --git a/site/content/examples/00-introduction/00-hello-world/meta.json b/site/content/examples/00-introduction/00-hello-world/meta.json index 2f47184710..6cf02c2ed1 100644 --- a/site/content/examples/00-introduction/00-hello-world/meta.json +++ b/site/content/examples/00-introduction/00-hello-world/meta.json @@ -1,3 +1,3 @@ { - "title": "Adding data" + "title": "Hello world" } \ No newline at end of file diff --git a/site/src/components/Repl/ReplWidget.svelte b/site/src/components/Repl/ReplWidget.svelte index d2bd809a41..c3bc192f00 100644 --- a/site/src/components/Repl/ReplWidget.svelte +++ b/site/src/components/Repl/ReplWidget.svelte @@ -6,6 +6,7 @@ export let version = 'beta'; export let gist = null; export let example = null; + export let embedded = false; let repl; let name = 'loading...'; @@ -62,6 +63,8 @@ }); } }); + + $: if (embedded) document.title = `${name} • Svelte REPL`; - - {name} • Svelte REPL - -
{#if process.browser} - + {/if}