Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

Algolia

Sam Thorogood edited this page Nov 1, 2021 · 3 revisions

Algolia works the same as on web.dev, with minor changes.

  • The collection used is called "algolia"
  • The generated file is called "dist/algolia.json"
  • We index the rendered output of 11ty, not the raw source of each page: this ensures that no {{ }} tags make their way into the output, and we strip all HTML tags instead
Clone this wiki locally