bgenc.net/layouts/partials/header-search.html
Kaan Barmore-Genç 13f6f1ec6b
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
added search
2023-10-27 03:58:04 +00:00

10 lines
327 B
HTML

<link href="/pagefind/pagefind-ui.css" rel="stylesheet">
<script src="/pagefind/pagefind-ui.js"></script>
<div id="search"></div>
<script>
window.addEventListener('DOMContentLoaded', (event) => {
new PagefindUI({ element: "#search", showSubResults: true, resetStyles: false, showImages: true });
});
</script>