Links

view/widget/links~ Links

External links widget JSX component.

Constructor

Source:
Example
<Links
    title="Widget title"
    links={{
        'Link Name 1': '/path/to/external/site',
        'Link Name 2': {
             'link': '/path/to/external/site',
             'hide_hostname': true,
       }
    }} />

Members

(static) Cacheable

Cacheable external links widget JSX component.

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

Source:
See:
Example
<Links.Cacheable
    links={{
        'Link Name 1': '/path/to/external/site',
        'Link Name 2': '/path/to/external/site'
    }}
    helper={{ __: function() {...} }} />