Search
Configuration in the Global _config.yml

Algolia

First create Algolia Account. After registration is complete, create a new Index, which will be used later.
Install hexo-algolia
npm install --save hexo-algolia
Configure Algolia integration to site _config.yml:
algolia:
applicationID: 'applicationID'
apiKey: 'apiKey'
indexName: '...'
Run the following command to upload Index data.
$ export HEXO_ALGOLIA_INDEXING_KEY=High-privilege API key # Use Git Bash
# set HEXO_ALGOLIA_INDEXING_KEY=High-privilege API key # Use Windows command line
$ hexo clean
$ hexo algolia
Turn on theme configuration at site _config.yml
aomori_search_algolia: true
Copy link