Skip to content
This repository was archived by the owner on Dec 20, 2021. It is now read-only.

refactor(lunr): always perform a wildcard search#127

Open
dezounet wants to merge 1 commit into
uPagge:masterfrom
dezounet:fix-lunr
Open

refactor(lunr): always perform a wildcard search#127
dezounet wants to merge 1 commit into
uPagge:masterfrom
dezounet:fix-lunr

Conversation

@dezounet

@dezounet dezounet commented Jul 4, 2021

Copy link
Copy Markdown
  1. Enable lunr:

    # config.toml
    [params.search]
      enable = true
      type = "lunr"
      contentLength = 4000
      snippetLength = 200
  2. Enable index.json generation by adding "JSON" entry to outputs.home:

    # config.toml
    [outputs]
      home = ["HTML","RSS", "JSON"]

Preview

With this PR

image

Before

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant