This commit is contained in:
2021-12-24 11:47:14 +00:00
parent e55815542c
commit b84bf09ae4
8 changed files with 404 additions and 62 deletions

View File

@@ -29,13 +29,13 @@
<section>
<h2>Posts</h2>
<ul>
{#each posts as post}
<!-- {#each posts as post} -->
<!-- we're using the non-standard `rel=prefetch` attribute to
tell Sapper to load the data for the page as soon as
the user hovers over the link or taps it, instead of
waiting for the 'click' event -->
<li><a rel='prefetch' href='blog/{post.slug}'>{post.title}</a></li>
{/each}
<!-- <li><a rel='prefetch' href='blog/{post.slug}'>{post.title}</a></li> -->
<!-- {/each} -->
</ul>
</section>
</main>