-
Notifications
You must be signed in to change notification settings - Fork 19
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
Add Pagefind search #37
Conversation
✅ Deploy Preview for dot-org-hugo-theme-demo-thetwopct ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for dot-org-hugo-theme-demo ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@cjyabraham Do you think adding the search to the site/header should be a theme option? |
@cjyabraham A few things popped up when running locally
I've played about with this and cannot get it to load. I also cannot reach the public/pagefind/ file directly (404 error) even though the files exist. |
|
Yes, good idea. |
Signed-off-by: Chris Abraham <cjyabraham@gmail.com> Signed-off-by: James Hunt <10615884+thetwopct@users.noreply.github.com>
Signed-off-by: Chris Abraham <cjyabraham@gmail.com> Signed-off-by: James Hunt <10615884+thetwopct@users.noreply.github.com>
Signed-off-by: Chris Abraham <cjyabraham@gmail.com> Signed-off-by: James Hunt <10615884+thetwopct@users.noreply.github.com>
Signed-off-by: Chris Abraham <cjyabraham@gmail.com> Signed-off-by: James Hunt <10615884+thetwopct@users.noreply.github.com>
Signed-off-by: Chris Abraham <cjyabraham@gmail.com> Signed-off-by: James Hunt <10615884+thetwopct@users.noreply.github.com>
Signed-off-by: Chris Abraham <cjyabraham@gmail.com> Signed-off-by: James Hunt <10615884+thetwopct@users.noreply.github.com>
Signed-off-by: Chris Abraham <cjyabraham@gmail.com> Signed-off-by: James Hunt <10615884+thetwopct@users.noreply.github.com>
Signed-off-by: James Hunt <10615884+thetwopct@users.noreply.github.com>
Signed-off-by: Chris Abraham <cjyabraham@gmail.com> Signed-off-by: James Hunt <10615884+thetwopct@users.noreply.github.com>
Signed-off-by: Chris Abraham <cjyabraham@gmail.com> Signed-off-by: James Hunt <10615884+thetwopct@users.noreply.github.com>
Signed-off-by: Chris Abraham <cjyabraham@gmail.com> Signed-off-by: James Hunt <10615884+thetwopct@users.noreply.github.com>
Signed-off-by: Chris Abraham <cjyabraham@gmail.com> Signed-off-by: James Hunt <10615884+thetwopct@users.noreply.github.com>
Signed-off-by: Chris Abraham <cjyabraham@gmail.com> Signed-off-by: James Hunt <10615884+thetwopct@users.noreply.github.com>
Signed-off-by: Chris Abraham <cjyabraham@gmail.com> Signed-off-by: James Hunt <10615884+thetwopct@users.noreply.github.com>
Signed-off-by: Chris Abraham <cjyabraham@gmail.com> Signed-off-by: James Hunt <10615884+thetwopct@users.noreply.github.com>
Signed-off-by: Chris Abraham <cjyabraham@gmail.com> Signed-off-by: James Hunt <10615884+thetwopct@users.noreply.github.com>
Signed-off-by: Chris Abraham <cjyabraham@gmail.com> Signed-off-by: James Hunt <10615884+thetwopct@users.noreply.github.com>
Signed-off-by: Chris Abraham <cjyabraham@gmail.com> Signed-off-by: James Hunt <10615884+thetwopct@users.noreply.github.com>
Signed-off-by: Chris Abraham <cjyabraham@gmail.com> Signed-off-by: James Hunt <10615884+thetwopct@users.noreply.github.com>
Signed-off-by: Chris Abraham <cjyabraham@gmail.com> Signed-off-by: James Hunt <10615884+thetwopct@users.noreply.github.com>
Signed-off-by: Chris Abraham <cjyabraham@gmail.com> Signed-off-by: James Hunt <10615884+thetwopct@users.noreply.github.com>
Signed-off-by: James Hunt <10615884+thetwopct@users.noreply.github.com>
This reverts commit c3935a7. Signed-off-by: James Hunt <10615884+thetwopct@users.noreply.github.com>
Signed-off-by: Chris Abraham <cjyabraham@gmail.com> Signed-off-by: James Hunt <10615884+thetwopct@users.noreply.github.com>
Signed-off-by: James Hunt <10615884+thetwopct@users.noreply.github.com>
Signed-off-by: James Hunt <10615884+thetwopct@users.noreply.github.com>
Signed-off-by: James Hunt <10615884+thetwopct@users.noreply.github.com>
Signed-off-by: James Hunt <10615884+thetwopct@users.noreply.github.com>
|
This addresses #35 by integrating Pagefind search.
Preview: https://deploy-preview-37--dot-org-hugo-theme-demo-jh.netlify.app/
It adds the search icon to the topnav on both mobile and desktop. It also demonstrates language-specific search results in both English and Spanish.
You can set up your own local instance of this following these instructions.