Skip to content
This repository has been archived by the owner on Aug 16, 2019. It is now read-only.

Add Algolia search #120

Open
wants to merge 4 commits into
base: f6
Choose a base branch
from
Open

Add Algolia search #120

wants to merge 4 commits into from

Conversation

Scharrels
Copy link
Contributor

This patch adds an algolia search feature to the Trailblazer site.

To use this patch, the following things need to be done:

  • Obtain an account at https://www.algolia.com/
  • Generate an API key
  • Configure the application keys in _config.yml
  • Generate the search index (using the command in the readme)
  • Regenerate the site
  • ...
  • Profit!

The search page uses the "Search by Algolia" logo, as I expect that Trailblazer can use an open source license.

The search page has its own customizable theme color, found in scss/components/_gems.scss.

The relative links started with a double slash. Remove the base url
to end up with the right links.
Fixes several layout issues on the result page:

* Add a hero banner on top
* Add the search by algolia logo
* Add a customizable theme color for the search page
* Clean up the search injection in the template
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant