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