fix: search

This commit is contained in:
Cory Dransfeldt 2023-12-11 13:21:02 -08:00
parent 75ad7852a7
commit d24587df3d
No known key found for this signature in database
3 changed files with 3 additions and 1 deletions

View file

@ -27,7 +27,7 @@ permalink: /search.html
<div id="/search" class="/search"></div>
<script
src="https://coryd.dev/_pagefind/pagefind-ui.js"
onload="new PagefindUI({ element: '#/search', showImages: false, processTerm: (term) => {
onload="new PagefindUI({ element: '#search', showImages: false, processTerm: (term) => {
try{
plausible('/Search', {props: {method: 'Text', term}});
} catch(e){};