diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 8b18b51..25637bb 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -1,20 +1,50 @@ - {#each Object.entries(nav) as [main, context]} - {main} + {#each nav as main,i} + {#if i != 0} + {main.name} + {/if} {/each} + {#each selected.subPages as subPage} + {subPage} + {/each} \ No newline at end of file