use_algolia_search

  1. algolia官网注册账号

  2. 新建index索引 Blog

  1. 在hex项目下安装
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    # npm install hexo-algolia --save

    # export HEXO_ALGOLIA_INDEXING_KEY=xxxxxxxxxxxxxxxxxxxxxx

    # hexo algolia
    INFO [Algolia] Testing HEXO_ALGOLIA_INDEXING_KEY permissions.
    INFO Start processing
    INFO [Algolia] Identified 45 pages and posts to index.
    INFO [Algolia] Indexing chunk 1 of 1 (50 items each)
    INFO [Algolia] Indexing done.