BuyMeACoffee

view/donate/buymeacoffee~ BuyMeACoffee

"Buy me a coffee" donation JSX component.

Constructor

new BuyMeACoffee()

Source:
Example
<BuyMeACoffee
    title="******"
    url="/path/to/buymeacoffee/page" />

Members

(static) Cacheable

Cacheable "Buy me a coffee" donation JSX component.

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

Source:
See:
Example
<BuyMeACoffee.Cacheable
    donate={{ type: 'buymeacoffee', url='/path/to/buymeacoffee/page' }}
    helper={{
        __: function() {...},
        url_for: function() {...}
    }} />