fix: pagefind

This commit is contained in:
Cory Dransfeldt 2023-12-19 15:29:48 -08:00
parent 4e6a7f2025
commit bbe9bb2d52
No known key found for this signature in database

View file

@ -24,7 +24,7 @@ permalink: /search.html
</style> </style>
<div id="search" class="search"></div> <div id="search" class="search"></div>
<script <script
src="https://coryd.dev/_pagefind/pagefind-ui.js" 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{ try{
plausible('/Search', {props: {method: 'Text', term}}); plausible('/Search', {props: {method: 'Text', term}});