compose icon indicating copy to clipboard operation
compose copied to clipboard

[BUG] Search page inconsistent on build

Open blakegearin opened this issue 2 years ago • 0 comments

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

  • [x] Read the README.md
  • [x] Have the extended version of Hugo installed
  • [x] 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

blakegearin avatar Apr 13 '22 05:04 blakegearin