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 page doesn't work #11

Open
leludo044 opened this issue Jun 18, 2024 · 2 comments
Open

Search page doesn't work #11

leludo044 opened this issue Jun 18, 2024 · 2 comments

Comments

@leludo044
Copy link

Hello.
I'm very interesting in this theme for Hugo. I tried it but it seems that the "Search" page doesn't work.
When I click the "Search" page in the Example site, an error appears in the browser console :
Uncaught ReferenceError: PagefindUI is not defined
Do you have an idea to fix this problem ?
Thank you.

@wlh320
Copy link
Owner

wlh320 commented Jun 19, 2024

Did you run npx pagefind --site public after hugo build?

Sorry for forgetting to mention how to use pagefind in README. I have updated it.

@leludo044
Copy link
Author

It's ok with this npx command.
Thanks a lot for your help.

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