Update titles
This commit is contained in:
parent
eec74572ca
commit
2e11d3d484
@ -1,7 +1,7 @@
|
||||
<script>
|
||||
import Menu from '../components/header.svelte'
|
||||
export const prerender = true;
|
||||
const title = "Test Route"
|
||||
const title = "owlboard-svelte"
|
||||
</script>
|
||||
<svelte:head>
|
||||
<title>OwlBoard - {title}</title>
|
||||
@ -9,7 +9,6 @@ const title = "Test Route"
|
||||
|
||||
|
||||
<Menu {title} />
|
||||
<h1>owlboard-svelte</h1>
|
||||
<p><a href="/public-board?zzz">public-board</a></p>
|
||||
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
<script>
|
||||
import Menu from '../../components/header.svelte'
|
||||
const testText = "This should not appear in markup"
|
||||
const title = "Public Board"
|
||||
</script>
|
||||
|
||||
<Menu />
|
||||
<Menu {title} />
|
||||
|
||||
<h1>Test Route</h1>
|
||||
<p>{testText}</p>
|
||||
|
Loading…
Reference in New Issue
Block a user