<%- JSON.stringify({
    version: 'https://jsonfeed.org/version/1',
    title: config.title + (tag ? ` • All posts by "${tag}" tag` : '') + (category ? ` • All posts by "${category}" category` : ''),
    description: config.description,
    home_page_url: config.url,
    items: posts.map(post => ({
        id: post.permalink,
        url: post.permalink,
        title: post.title,
        date_published: moment(post.date).toISOString(),
        content_html: post.content || '',
        tags:  (post.tags ? post.tags.toArray() : []).map(({ name }) => name)
    }))
}, null, 4) _%>
