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

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dezounet
Copy link

@dezounet dezounet commented Jul 4, 2021

  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