Constructor
new Artalk()
Example
<Artalk
server="https://artalk.example.com"
site="******"
pageKey="/path/to/page/"
pageTitle="******"
locale="en"
darkMode={false}
jsUrl="/path/to/Artalk.js"
cssUrl="/path/to/Artalk.css" />
Members
(static) Cacheable
Cacheable Artalk comment JSX component.
This class is supposed to be used in combination with the locals hexo filter
(module:hexo/filter/locals).
- Source:
- See:
Example
<Artalk.Cacheable
comment={{
server: "https://artalk.example.com",
site: "******",
locale: "en",
dark_mode: false
}}
page={{ title: "******" }}
helper={{ cdn: function() {...} }} />