mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-27 16:06:59 +02:00
feat: allow blog authors email (#6783)
This commit is contained in:
parent
7ec44bb32c
commit
6cbc58943e
14 changed files with 53 additions and 15 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue