Insight

view/search/insight~ Insight

Algolia search engine JSX component.

Constructor

new Insight()

Source:
Example
<Insight
    translation={{
        hint: '******',
        untitled: '******',
        posts: '******',
        pages: '******',
        categories: '******',
        tags: '******'
    }}
    contentUrl="/path/to/content.json"
    jsUrl="/path/to/insight.js" />

Members

(static) Cacheable

Cacheable Insight search plugin JSX component.

This class is supposed to be used in combination with the locals hexo filter (module:hexo/filter/locals).

Source:
See:
Example
<Insight.Cacheable
    helper={{
        __: function() {...},
        cdn: function() {...},
        url_for: function() {...}
    }} />