Skip to content

Commit

Permalink
debugged blog links
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasjsmith404 committed Apr 18, 2024
1 parent 570f2b8 commit e72f1e6
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 16 deletions.
1 change: 0 additions & 1 deletion src/routes/+layout.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<nav>
<a href="/">home</a>
<a href="/about">about</a>
<a href="/blog">blog</a>
</nav>

Expand Down
3 changes: 1 addition & 2 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
<h1>home</h1>
<p>this is the home page.</p>
<p>home</p>
2 changes: 0 additions & 2 deletions src/routes/about/+page.svelte

This file was deleted.

11 changes: 0 additions & 11 deletions src/routes/blog/[slug]/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,6 @@
<main>
<slot />
</main>

<aside>
<h2>More posts</h2>
<ul>
{#each data.summaries as { slug, title }}
<li>
<a href="/blog/{slug}">{title}</a>
</li>
{/each}
</ul>
</aside>
</div>

<style>
Expand Down

0 comments on commit e72f1e6

Please sign in to comment.