Skip to content

Commit

Permalink
Fix Pagefind UI to reference the new title location.
Browse files Browse the repository at this point in the history
  • Loading branch information
bglw committed Jun 21, 2022
1 parent 28ac09d commit 25189e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pagefind_ui/svelte/result.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
<li class="result">
{#if data}
{#if data.meta.image}
<img class="thumb" src={data.meta?.image} alt={data.title} />
<img class="thumb" src={data.meta?.image} alt={data.meta?.title} />
{:else}
<div class="thumb" />
{/if}
<div class="details">
<p class="title"><a href={data.url}>{data.title}</a></p>
<p class="title"><a href={data.url}>{data.meta?.title}</a></p>
<p class="excerpt">{@html data.excerpt}</p>
</div>
{:else}
Expand Down

0 comments on commit 25189e3

Please sign in to comment.