vantagedesign / ace-documentation

A free documentation theme for Hugo, powered by Bootstrap 4. Repsonsive, search, code highlighting and more.

Home Page:https://docs.vantage-design.com/ace/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

pjarnhus opened this issue · comments

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"]

I cannot get search to work either.

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.

I also had problems with the search bar, I answered this in another issue: #31 (comment)