--- title: Roundtrip tagline: Algolia Online Search description: Using Algolia Index API for static sites tags: [ Template, Roundtrip, Search, Engine, Algolia] index: [] categories: [ pages ] permalink: /pages/public/start/roundtrip/search_engine/ regenerate: true resources: [ algolia ] resource_options: - masthead: opacity: 0.2 slides: - url: /assets/images/widescreen/featured-1920x800.jpg alt: featured-1920x800 --- // Enable the Liquid Preprocessor // ----------------------------------------------------------------------------- :page-liquid: // Set other global page attributes here // ----------------------------------------------------------------------------- // Liquid procedures // ----------------------------------------------------------------------------- {% capture set_env_entry_document %}themes/{{site.template.name}}/procedures/global/set_env_entry_document.proc{%endcapture%} // Initialize entry document paths // ----------------------------------------------------------------------------- {% include {{set_env_entry_document}} init_folders=all %} // Load tags and urls // ----------------------------------------------------------------------------- include::{includedir}/attributes.asciidoc[tag=tags] include::{includedir}/attributes.asciidoc[tag=urls] include::{includedir}/attributes.asciidoc[tag=data] // Additional Asciidoc page attributes goes here // ----------------------------------------------------------------------------- // Include sub-documents // ----------------------------------------------------------------------------- The module *Site Search* is based on an _Elasticsearch_ Index hostet at _Algolia_. To access the `Algolia index`, the Javascript library _InstantSearch_ (instansearch.js) is fully integrated with _J1_. *Site Search* is bundled with the template like all other modules, e.g. *Toccer*, *Header* or *Navigator* -- simple to use as only a configuration is need to make this functionality available with a site. J1 Template integrates the `jekyll-algolia` Gem, a data collector create the search *record data* needed and push the content in an Algolia index in a single step. Find the default search client below; packed with the *Site Search* module as well. == Site Search ++++