hexo-cake-local-search

Local seach for cake.

Usage no npm install needed!

<script type="module">
  import hexoCakeLocalSearch from 'https://cdn.skypack.dev/hexo-cake-local-search';
</script>

README

hexo-cake-local-search

npm Theme

This is the wapper of the hexo-generator-searchdb plug-in. Make it available in cake.

Require

cake theme version < 2.x, install 3.
cake theme version >= 2.x or master, install 4.x

Install

yarn add hexo-cake-local-search

Options

You can configure this plugin in your root _config.yml.

search:
  path: search.json
  field: post
  format: html
  limit: 10000

More config see default.yaml or hexo-generator-searchdb