Extra Features
Search

Search

Search features are enabled by default, but requires a few steps to make it available.

Run

# [hexo-generator-search](https://github.com/wzpan/hexo-generator-search)
$ npm install hexo-generator-search --save

Add these lines to theme configuration _config.yml:

_config.cupertino.yml
search: true
search_path: search.json

Add new search page so that Hexo will generate it.

$ hexo new page 'search'

Replace all its content with:

source/search/index.md
---
type: search
---

Done! Your search page is ready at /search.