{!article.preview ? null : (
)}
{article.title}
{!article.date ? null : (
{article.date}
)}
const React = require('react') const dateFormat = require('../lib/date').dateFormat const Image = require('./Image') const Date = ({children}) => (
{dateFormat(children)}
) const Link = ({href, children}) => ( {children} ) const ArticleCard = ({article}) => (