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 page inconsistent on build #84

Open
3 tasks done
blakegearin opened this issue Apr 13, 2022 · 0 comments
Open
3 tasks done

[BUG] Search page inconsistent on build #84

blakegearin opened this issue Apr 13, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@blakegearin
Copy link
Contributor

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

Describe the bug

On Hugo build...

Version A
The search page contains only the page title "Search" and includes the sidebar. Typing in the search bar doesn't change the page.

Live example: https://docs.neuralvibes.com/search/

image

Version B

The search page has no title or sidebar. Rather, it has the button "Type to search" then if you type in the search bar, the results appear on the page. This seems to be the intended output based on this code.


I'm not sure what would cause something like this. But the fact that I've seen both when running hugo --minify locally and seeing version A on the example site right now seems to indicate there's a problem.

Perhaps there's a file conflict between exampleSite/content/search.md and layouts/search/single.html ?

Desktop (please complete the following information):

  • OS: macOS 12.2.1
  • Browser: Firefox 99.0b5
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

1 participant