/* eslint indent: warn, no-irregular-whitespace: warn */ const iff = (cond, yes, no) => (cond ? yes : no); module.exports = ({post, site, templateSettings}) => { const date = new Date(); const hasFeatureImageCaption = templateSettings.showFeatureImage && post.feature_image && post.feature_image_caption; return ` ${post.title} ${ post.excerpt ? post.excerpt : `${post.title} – ` } `; };