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

Fix baseurl used by search to load json data #177

Merged
merged 1 commit into from
Oct 17, 2018
Merged

Fix baseurl used by search to load json data #177

merged 1 commit into from
Oct 17, 2018

Conversation

matalo33
Copy link
Contributor

@matalo33 matalo33 commented Oct 9, 2018

Incorporated baseurl into path used by lunr to load the index.json file. Fixes search on the hugo showcase and any other site hosted from a subdirectory.

Tested locally with generateThemeSite.sh in the hugoThemes repo.

Fixes #156
Fixes #173

@matalo33 matalo33 requested a review from matcornic October 9, 2018 20:07
@matcornic
Copy link
Owner

Rebase on master and retry (for CI)

@matalo33 matalo33 merged commit 3359511 into matcornic:master Oct 17, 2018
@matalo33 matalo33 deleted the fix-showcase-search branch December 21, 2018 01:30
@matalo33 matalo33 added the bug label Jan 28, 2019
gr1m0h pushed a commit to gr1m0h/hugo-theme-learn that referenced this pull request Mar 7, 2021
Fix baseurl used by search to load json data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants