can you provide a sample jekyll site with lunr search integrated? #61
Comments
I saved my integration here. Hope this helps. |
Awesome! Thanks. This was really helpful. I plugged it into a vanilla jekyll site, added the search.min.js file, the plugin files, and it worked. Here's a sample working jekyll site in case anyone wants to download a working sample: sample jekyll site with lunr integrated. |
For some reason I'm getting a warning about the version when I build jekyll:
The site still builds, but I'd like to resolve this error. Can you help? |
I found the sample code only worked locally with jekyll server command. when I upload the code to github. It can't work on github server. Did I do anything wrong |
@samuel1208 Jekyll plugins don't work in Github so you cannot use this plugin for GitHub pages, unless you also push up the locally generated search index. |
@slashdotdash where should I push the search index to? Could you tell me how to config it ? |
@slashdotdash Thanks for your advice. I push the search.index to github.page . It works now |
Can you create a sample jekyll site with a plain integration of lunr search using the pre-built plugin method rather than the rubygem installation method? I had a hard time following the instructions but feel if i had example code, I could figure it out. If I could download the sample site, that would be perfect.
The text was updated successfully, but these errors were encountered: