Hugo Dark Theme Site Generator
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long. 1.5KB

+++ title = “Fuzzy Search” description = “Quickly locate indexed content anywhere on the site.” categories = [“navigation”] tags = [“links”, “search”, “controls”] features = [“code highlighter”, “snippets”, “related content”] todo = [“link to page layout”] +++

If a search engine can find it, so can you. Quickly locate indexable content site-wide with fuzzy search. No registration necessary.

{{< hackcss-card header=“Interactive Example” >}} {{< /hackcss-card >}}

Adjust it from in the site content/search directory:

├── archetypes
├── content
│   └── search
│       └──
├── static
├── themes

If the file doesn’t exist, yet create it:

$ hugo new search/

And specify the JSON {{< external href=“” text=“Output Format” />}} in site config:

  home = ["HTML", "RSS", "JSON"]
  section = ["HTML", "RSS", "JSON"]

{{% hackcss-alert type=“info” %}}Note: This adds JSON while keeping the HTML and RSS defaults.{{% /hackcss-alert %}}

Once activated your site will begin outputting an index.json file during generation, giving fuzzy search the data it needs to help you locate pages.

Try it by navigating to domain.example/search, entering a search query and using Tab to navigate between search results.