import { Search } from "https://deno.land/x/lume@v1.17.2/plugins/search.ts";
Search helper
Constructors
new
Search(site: Site, returnPageData: boolean)Methods
nextPage()
url: string,
query?: Query,
sort?: Query,
Return the next page of a search
page(query?: Query, sort?: Query)
Search and return a page
pages()
query?: Query,
sort?: Query,
limit?: number,
Search pages
previousPage()
url: string,
query?: Query,
sort?: Query,
Return the previous page of a search
tags(query?: Query)
Returns all tags values of a search
values(key: string, query?: Query)
Returns all values from the same key of a search