Skip to content

Commit

Permalink
add trailing slashes manually like a caveman
Browse files Browse the repository at this point in the history
  • Loading branch information
marwie committed Aug 16, 2024
1 parent 5d8d1d9 commit e7e55a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
<div class="app">
<div class="header">
<a href="{base}/">Home</a>
<a href="{base}/markdown">Markdown Page</a>
<a href="{base}/regular">Regular Page</a>
<a href="{base}/scenes">Scenes</a>
<a href="{base}/markdown/">Markdown Page</a>
<a href="{base}/regular/">Regular Page</a>
<a href="{base}/scenes/">Scenes</a>
</div>
<main>
<slot />
Expand Down
2 changes: 1 addition & 1 deletion src/routes/scenes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<menu>
Select a example scene →
{#each data.entries as entry}
<a href="{base}/scenes/{entry.url}">{entry.name}</a>
<a href="{base}/scenes/{entry.url}/">{entry.name}</a>
{/each} <span class="hint">note that each scene is a separate route</span>
</menu>

Expand Down

0 comments on commit e7e55a0

Please sign in to comment.