Constructor
new WalinePageview()
- Source:
- See:
Example
<WalinePageview
serverURL="https://path/to/waline/server"
jsUrl="/path/to/pageview.js" />
Members
(static) Cacheable
Cacheable Waline page view counter plugin JSX component.
This class is supposed to be used in combination with the locals hexo filter
(module:hexo/filter/locals).
Example
<WalinePageview.Cacheable
head={false}
plugin={{ server_url: 'https://path/to/waline/server' }}
config={{ comment: { type: 'waline', server_url: 'https://path/to/waline/server' } }}
helper={{ cdn: function() {...} }} />