Log in Sign up

Search

questions tagged ‘Search’

How does site search work in Blot?

I started using the Mira template and I saw it had a search.html page and an archives.html page. I wanted to merge them, so I added a search field to the archives page, following all the same logic that's defined in the search page. But the search that I added to the archives page didn't actually work--the JSON data for the page doesn't contain the query parameter when I run the search from archives.html, even though the exact same code works on search.html. Does Blot have a special case for the search.html page of some sort?

Search using "AND" not "OR"?

If I search for a phrase (multiple words), the results seem to include posts with either word rather than both/all words. I would prefer the search use AND not OR by default (without something like typing "AND" in the query). Is there any way to change the behavior? Currently, the results get very "noisy" because many of the results aren't relevant. Thanks.

Enabling search for pages?

Is there a way to enable search for certain pages? I am talking about "user-defined" pages, i. e. stuff in /Pages or with Page: yes, not something like the archives page. Posts work perfectly, but pages, no matter whether they are stored inside or outside of /Pages, do not work, even with the following metadata: Search: yes Is this supposed to work somehow? Considering quite a few people use Blot for / as their "digital garden" / notes / information store, being able to search these pages would be very helpful.

Newsletter
Get updates on Blot’s latest features and changes. Delivered every three months.