Algolia Jekyll Plugin

Jekyll plugin to automatically index your Jekyll posts and pages into an Algolia index.

Usage

$ jekyll algolia push

This will push the content of your jekyll website to your Algolia index.

Installation

Add algoliasearch-jekyll to your _config.yml file, under the gems section, like this:

gems:
  - algoliasearch-jekyll

If you're using a Gemfile, you should also add the gem to the :jekyll_plugins group, like this:

group :jekyll_plugins do
  gem 'algoliasearch-jekyll'
end

Configuration

Add information about your Algolia configuration into the _config.yml file, under the algolia section, like this:

algolia:
  application_id: 'your_application_id'
  index_name:     'your_index_name'

You api key will be read either from the ALGOLIA_API_KEY environment variable, or the ./_algolia_api_key file.

Note that if you decide to use the ./_algolia_api_key approach, we strongly encourage you to not track this file in your versionning system.

Now that your index is populated with your data, you can start searching in it. You can query it yourself using our Javascript client, or you can use our updated Hyde theme.

Description
Add fast and relevant search to your Jekyll site
Readme 33 MiB
Languages
Ruby 65.1%
SCSS 14%
JavaScript 8.6%
CSS 7.1%
Pug 3.9%
Other 1.2%