feat: allow blog authors email (#6783)

This commit is contained in:
Joshua Chen 2022-03-02 23:28:17 +08:00 committed by GitHub
parent 7ec44bb32c
commit 6cbc58943e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 53 additions and 15 deletions

View file

@ -57,9 +57,7 @@ async function generateBlogFeed({
});
function toFeedAuthor(author: Author): FeedAuthor {
// TODO ask author emails?
// RSS feed requires email to render authors
return {name: author.name, link: author.url};
return {name: author.name, link: author.url, email: author.email};
}
await mapAsyncSequential(blogPosts, async (post) => {