alain-andre / octopress-lunr-theme Goto Github PK
View Code? Open in Web Editor NEWAll the needed for lunrjs search on octopress. in easy steps.
All the needed for lunrjs search on octopress. in easy steps.
Hi,
when running
$ bundle exec rake install["octopress-lunr-theme"] # In any case
rake complains about the missing sass folder.
Copying from the classic theme resolves this, but I could not get it running due to other issues...
Anyway: Thanks for the shortcut (try so far ;) )
I guess it is not enough to comment out the simple search
rather also
lunr_search: true
should be set
#simple_search: https://www.google.com/search
lunr_search: true
When running
bundle exec rake generate
it produces following outpu:
kc@ubuntu ~/code/dshopTutorials (octopress-lunr-theme)
$ bundle exec rake generate
## Generating Site with Jekyll
identical source/stylesheets/screen.css
Configuration from /home/kc/code/dshopTutorials/_config.yml
/home/kc/code/dshopTutorials/plugins/octopress_lunr_theme.rb:17:in `initialize': undefined method `Hash' for #<Jekyll::Indexer:0x941ffb0> (NoMethodError)
from /var/lib/gems/1.9.1/gems/jekyll-0.12.0/lib/jekyll/site.rb:92:in `new'
from /var/lib/gems/1.9.1/gems/jekyll-0.12.0/lib/jekyll/site.rb:92:in `block in setup'
from /var/lib/gems/1.9.1/gems/jekyll-0.12.0/lib/jekyll/site.rb:89:in `map'
from /var/lib/gems/1.9.1/gems/jekyll-0.12.0/lib/jekyll/site.rb:89:in `setup'
from /var/lib/gems/1.9.1/gems/jekyll-0.12.0/lib/jekyll/site.rb:31:in `initialize'
from /var/lib/gems/1.9.1/gems/jekyll-0.12.0/bin/jekyll:238:in `new'
from /var/lib/gems/1.9.1/gems/jekyll-0.12.0/bin/jekyll:238:in `<top (required)>'
from /usr/local/bin/jekyll:23:in `load'
from /usr/local/bin/jekyll:23:in `<main>'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.