mirror of
https://github.com/lavafroth/lavafroth.github.io.git
synced 2026-06-03 23:11:16 -03:00
feat: html has a search tag
This commit is contained in:
@@ -58,7 +58,7 @@ html {
|
||||
font-size: 8px;
|
||||
}
|
||||
|
||||
#search {
|
||||
search {
|
||||
margin-bottom: var(--gap);
|
||||
button {
|
||||
background: transparent;
|
||||
|
||||
@@ -7,10 +7,10 @@
|
||||
|
||||
<link href="/pagefind/pagefind-ui.css" rel="stylesheet">
|
||||
<script src="/pagefind/pagefind-ui.js" type="text/javascript"></script>
|
||||
<div id="search"></div>
|
||||
<search></search>
|
||||
<script>
|
||||
window.addEventListener('DOMContentLoaded', (event) => {
|
||||
new PagefindUI({ element: "#search" });
|
||||
new PagefindUI({ element: "search" });
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user