Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Search box is present even when search is disabled #105

Closed
4 tasks done
CorruptComputer opened this issue Feb 28, 2023 · 0 comments
Closed
4 tasks done

[BUG] Search box is present even when search is disabled #105

CorruptComputer opened this issue Feb 28, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@CorruptComputer
Copy link

I have checked all the prerequisites below and I'm yet experiencing a problem

  • Read the README.md
  • Have the extended version of Hugo installed
  • Used the exampleSite's config.toml as a reference
  • If and when requested, I'll link my repo to make it easier to debug.

⚠️ NOTE: If the issue isn't easy to reproduce and its author(s) decline to provide reasonable accommodation to debug, the issue will be closed.

Describe the bug

In config/_default/params.toml I have the following:

# search
[search]
on = false

[search.algolia]
enable = false # if false search will default to fusejs
id = "" # Application ID
index = "" # Index name
key = "" # Search-Only API Key

And on my site, the search box is still shown:
image

For reference, my version of params.toml and a link to the site that this corresponds to:
https://github.com/idle-wiki/Home/blob/main/config/_default/params.toml
https://idle.wiki (very much a work in progress, has almost nothing on it yet)

Desktop (please complete the following information):

  • OS: Fedora 37
  • Browser: Firefox 110
@CorruptComputer CorruptComputer added the bug Something isn't working label Feb 28, 2023
onweru added a commit that referenced this issue Feb 28, 2023
@onweru onweru closed this as completed Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants