Pagefind is a tool that adds full text search for static sites. It pre-generates an index and includes search box that loads partial chunks of the index to conduct searches in the browser with JavaScript. Pagefind indexes static HTML files after they are generated. It can be configured by including certain markup in pages.
Pagefind is a tool that adds full text search for static sites. It pre-generates an index and includes search box that loads partial chunks of the index to conduct searches in the browser with JavaScript. Pagefind indexes static HTML files after they are generated. It can be configured by including certain markup in pages.
data-pagefind-bodyattribute to the main content block for articles and pages, and the precontent block for sections and home pages.data-pagefind-metaattributes to identify the title, image, image_alt, section (for articles) and updated date.data-pagefind-filterattributes to allow filtering by author, tags, and section.