Skip to content

HTML code generated for Search is incorrect (using Fuse does not work). #343

@ghost

Description

The HTML generated for my index page is below (first time user of Hugo) and as a web designer I am able to fix however just wanted to let you know that it is not adding /pages to the path and search is currently not working using fuse unless it is manually changed. Maybe I have not set it up correctly however not sure as I have only just started using. Also, not sure could this be due to the theme I am using (not Hugo itself) sorry to waste your time if it is.

So when I generate the site it creates the HTML below

 <form action='/search' id='search-form' class='search-form'>
 <label>

However the search page is not located at the site root so it only works if you manually change the HTML to add the /pages to the path.

  <form action='/pages/search' id='search-form' class='search-form'>
  <label>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions