Skip to content

Commit

Permalink
Fixes DDEV search component. (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmartinez287 authored Nov 21, 2023
1 parent 7fdc334 commit bf27f6f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/search.astro
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@ const title = `Search`

resultsContainer.innerHTML = results
.map((result) => {
let resulturl = window.location.origin + result.id
return `
<a href="${
result.id
resulturl
}" class="border rounded w-full flex items-center content-center my-2 p-4 hover:shadow-sm hover:border-blue-300 dark:border-slate-700">
<h2 class="font-bold block w-3/4 dark:text-white">${result.title}</h2>
<div class="block w-1/4 text-right">
Expand Down

0 comments on commit bf27f6f

Please sign in to comment.