view/common/article_media

A simple article overview JSX component.

Members

(inner) ArticleMedia

A simple article overview JSX component.
Source:
Example
<ArticleMedia
    thumbnail="/path/to/thumbnail/image.png"
    url="/path/to/article"
    title="Article title"
    date="Article publish date"
    dateXml="Article publish date in XML format (see https://hexo.io/docs/helpers#date-xml)"
    categories={[
        { url: '/path/to/category', name: 'Category name' }
    ]} />