Comment on page
Search
Configuration in the Global
_config.yml
First create Algolia Account. After registration is complete, create a new Index, which will be used later.
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
Last modified 1yr ago