You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by huphtur March 24, 2023
Have 2 types of pages on my 11ty site: collection (blog) pages, and one-off pages (eg an about page).
Added data-pagefind-body to <main> and all the pages get indexed, which is great.
I wanted to sort the blog posts by date, so added data-pagefind-sort="date" and sort: { date: "asc" }. My blog posts are indeed sorted, but now my one-off pages are not shown in the search result anymore.
Pagefind should offer some way to configure how untagged results appear (or not) when sorting.
The text was updated successfully, but these errors were encountered:
Discussed in #255
Originally posted by huphtur March 24, 2023
Have 2 types of pages on my 11ty site: collection (blog) pages, and one-off pages (eg an about page).
Added
data-pagefind-body
to<main>
and all the pages get indexed, which is great.I wanted to sort the blog posts by date, so added
data-pagefind-sort="date"
andsort: { date: "asc" }
. My blog posts are indeed sorted, but now my one-off pages are not shown in the search result anymore.Pagefind should offer some way to configure how untagged results appear (or not) when sorting.
The text was updated successfully, but these errors were encountered: