vantagedesign / ace-documentation

A free documentation theme for Hugo, powered by Bootstrap 4. Repsonsive, search, code highlighting and more.
https://docs.vantage-design.com/ace/
MIT License
101 stars 74 forks source link

Search does not return any results. Reroutes to 127.0.0.1:1313/? #38

Open pjarnhus opened 3 years ago

pjarnhus commented 3 years ago

Hi,

Thank you for making an awesome Hugo theme. I have been using it for some time now and it is wonderful. I cannot, however, seem to get the search to work. Whenever I search for something, it basically reroutes to 127.0.0.1:1313/? and does not return any results.

I have just tried reinstalling the theme and get the same results. Checking the source of the generated HTML everything checks out with correct links to jQuery, popper, lunr and auto-complete. They are all available in a minified version for the generated site.

Is there some step that I am missing to get the search to work?

My config looks like this:

baseURL = "/"
languageCode = "en-uk"
title = "Zettelkasten"

# Set ace-documentation theme
theme = "ace-documentation"

# Set search functionality
[outputs]
home = [ "HTML", "RSS", "JSON"]
theblackfly commented 3 years ago

I cannot get search to work either.

mapitman commented 3 years ago

I don't think the search is supposed to send you to a page with search results. It just shows a list of pages as you type in the box.

dagerzuga commented 2 years ago

I also had problems with the search bar, I answered this in another issue: https://github.com/vantagedesign/ace-documentation/issues/31#issuecomment-1311065944