Gitment

view/comment/gitment~ Gitment

Gitment comment JSX component.

Constructor

new Gitment()

Deprecated:
  • Yes
Source:
See:
Example
<Gitment
    id="******",
    repo="******",
    owner="******",
    clientId="******",
    clientSecret="******",
    perPage={10},
    maxCommentHeight={250} />

Members

(static) Cacheable

Cacheable Gitment comment JSX component.

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

Deprecated:
  • Yes
Source:
See:
Example
<Gitment.Cacheable
    comment={{
        repo: '******',
        owner: '******',
        client_id: '******',
        client_secret: '******',
        per_page: 10,
        max_comment_height: 250
    }}
    page={{ path: '/path/to/page' }} />