Constructor
new DisqusJs()
Example
<DisqusJs
shortname="******"
apiKey="******"
api="******"
admin="******"
adminLabel={false}
nesting={4}
disqusId="******"
path="/path/to/page"
permalink="/page/permanent/path"
pageTitle="******"
siteTitle="******"
jsUrl="/path/to/disqus.js"
cssUrl="/path/to/disqusjs.css" />
Members
(static) Cacheable
Cacheable DisqusJS comment JSX component.
This class is supposed to be used in combination with the locals
hexo filter
(module:hexo/filter/locals).
Example
<DisqusJs.Cacheable
comment={{
shortname: '******',
api_key: '******',
api: '******',
admin: '******',
admin_label: false,
nesting: 4
}}
page={{
path: '/path/to/page',
disqusId: '******',
permalink: '******'
title: '******'
}}
config={{ title: '******' }}
helper={{ cdn: function() { ... } }} />