prefetch bad

This commit is contained in:
James Shiffer 2020-08-29 03:47:46 -07:00
parent 9be3f1096c
commit 5acb57e0cd
3 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@
<h1>{category.name}</h1>
<div class="article-list">
{#each articles as {title, slug, image, created_at}}
<a rel="prefetch" href={`/a/${slug}`}>
<a href={`/a/${slug}`}>
<div class="article-image">
<img src={image ? `/a/${image}` : '/logo.png'} alt={title}>
</div>

View File

@ -59,7 +59,7 @@
<h1 class="welcome">Welcome</h1>
<div class="article-list">
{#each articles as {title, slug, image, created_at}}
<a rel="prefetch" href={`/a/${slug}`}>
<a href={`/a/${slug}`}>
<div class="article-image">
<img src={image ? `/a/${image}` : '/logo.png'} alt={title}>
</div>

View File

@ -42,7 +42,7 @@
<h1>Search Results for: {query}</h1>
<div class="article-list">
{#each results as {title, slug, image, created_at}}
<a rel="prefetch" href={`/a/${slug}`}>
<a href={`/a/${slug}`}>
<div class="article-image">
<img src={image ? `/a/${image}` : '/logo.png'} alt={title}>
</div>