0.0
No commit activity in last 3 years
No release in over 3 years
Index items from nanoc site to algolia
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

Nanoc algolia

Index an item in algolia

It use nokogiri and algolia.

Note: It doesn't allow quering the index, it cannot works with nanoc. You should probably use the javascript integration.

Install

gem install nanoc-algolia

If you use bundler, add it to your Gemfile:

gem "nanoc-algolia", "~> 0.0.1"

Usage

Add to lib/default.rb:

require 'nanoc-algolia'

Add to config.yaml:

algolia:
  application_id: your_application_id
  api_key: your_api_key
  index: your_index_name

Add a filter at the compile time to use it:

compile '*' do
  filter :algolia
  filter :erb
  layout 'default'
end

License

(c) 2011 Pascal Widdershoven (https://github.com/PascalW/jekyll_indextank) (c) 2015 Stormz

This code is free to use under the terms of the MIT license