New
v1.3.0
Core Features & Improvements
- Added
--quietand--silentflags when running the Pagefind CLI, which reduce the logging output to only warnings or only errors respectively. - Stablized the Pagefind Rust library.
- Thanks to @cdxker for leading this in #751 ❤️
- This library interface has feature parity with the Node and Python indexing APIs, and is a great solution for integrating Pagefind indexing into any Rust-based tooling.
Default UI Features & Improvements
- Added a
data-pagefind-ui-metaattribute to the metadata tags on search results in the Default UI, allowing them to be targeted with CSS.- For example, a tag on a result containing
Date: April 19, 2024will now havedata-pagefind-ui-meta="date".
- For example, a tag on a result containing
Fixes & Tweaks
- Fixed an issue where inline metadata would incorrectly render with html-escaped characters.
- Specifically, tagging metadata inline with
data-pagefind-meta="phrase:this < thatwould index the literal<rather than a<character. - This bug didn't occur when using
data-pagefind-metato capture the content of an element.
- Specifically, tagging metadata inline with
- Fixed an issue where matches in compound words could (sometimes) be ranked lower than intended.
- Specifically, for example, matching just the
CannoninCloudCannonmay have ranked the word incorrectly.
- Specifically, for example, matching just the
- Fixed an issue where fragment hashes would change between every Pagefind build.
- Now, if an HTML page has not changed between two Pagefind indexes, the fragment filename will not change.
- This saves you from having to re-upload all fragment files after every Pagefind build.