Showing metadata in the Pagefind Default UI
Pagefind’s Default UI uses the default metadata keys to customize the way results are displayed. The following metadata items are used in the Default UI:
- The title of each search result uses the
titlekey from the page metadata - The image beside each search result uses the
imageandimage_altkeys from the page metadata - The url of each search result may be overridden by specifying a
urlkey in the page metadata
Any other metadata key-value pairs you assign to pages will be shown below the search result.