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

Search results display Template page #161

Closed
Orlokun opened this issue Mar 1, 2024 · 3 comments
Closed

Search results display Template page #161

Orlokun opened this issue Mar 1, 2024 · 3 comments

Comments

@Orlokun
Copy link

Orlokun commented Mar 1, 2024

When using the search bar, the results will lead to the example page instead of the expected results.
Repro steps:

  1. Open web page
  2. In search bar, search a term that shows at least one result
  3. Click any of the results
  4. Notice you will be redirected to the example web site instead of the expected page

Expected Behavior
When a result is clicked, the user should be redirected to the respective webpage.

Screenshots
image
image

  • OS: Windows 11
  • Browser: Edge
  • Version: Version 122.0.2365.59 (Official build) (64-bit)
@gurusabarish
Copy link
Owner

Kindly check you site configurations

@Orlokun
Copy link
Author

Orlokun commented May 29, 2024

Hi @gurusabarish Thanks for the answer. Sorry not reply sooner.
What configurations do you mean? This is the hugo file.
Thanks!

image

@Orlokun
Copy link
Author

Orlokun commented May 29, 2024

Ok I fixed it on my end. My issue was that I was being sent to the template page when pressed the search results.

My config was fine, the problem was that on the baseUrl parameter at the beginning of the hugo file, I hadn't applied my site URL. and still had the template as base Url

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants