Skip to content

mathaywarduk/jekyll-search

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

Jekyll search

Basic Jekyll setup with search via JSON.

Version history

Version no. Description Date
0.3 Support for collections 13 March 2014
0.2.1 Used built-in jsonify filter (thanks to davekinkead) 25 September 2014
0.2 Used built-in ruby JSON (thanks to mrvdb) 20th May 2014
0.1 First draft 24th February 2014

Usage

Use on an existing Jekyll installation (http://jekyllrb.com/)

  • Place _plugins, feeds, search and scripts directories in root of jekyll installation
  • Add url: http://example.com to _config.yml

Omissions

  • To omit a page or post from search add search_omit: true to YAML Front Matter

Notes

  • To run locally use local domain as url in _config.yml e.g. url: http://localhost:4000
  • jQuery library is included in /search/index.html - Remove if not needed, or move to <head> if preferred

About

Basic jekyll setup with search via json

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published