Tags

view/widget/tags~ Tags

Tags widget JSX component.

Constructor

new Tags()

Source:
Example
<Tags
    title="Widget title"
    showCount={true}
    tags={[
        {
            url: '/path/to/category/page',
            name: 'Category name',
            count: 1
        }
    ]} />

Members

(static) Cacheable

Cacheable tags widget JSX component.

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

Source:
See:
Example
<Tags.Cacheable
    site={{ tags: {...} }}
    helper={{
        url_for: function() {...},
        _p: function() {...}
    }}
    tags={{...}}
    widget={{
      order_by: "name",
      amount: 100,
      show_count: true
    }} />