This commit is contained in:
Leandro Facchinetti 2020-03-18 13:58:15 -04:00
parent 9e6cc02ef6
commit 16451ffaa6
1 changed files with 2 additions and 1 deletions

View File

@ -117,6 +117,7 @@ export function Created({ inbox: { name, token } }: { inbox: Inbox }) {
} }
// https://validator.w3.org/feed/docs/atom.html // https://validator.w3.org/feed/docs/atom.html
// https://validator.w3.org/feed/#validate_by_input
export function Feed(inbox: Inbox): object { export function Feed(inbox: Inbox): object {
const { name, token } = inbox; const { name, token } = inbox;
@ -144,7 +145,7 @@ export function Feed(inbox: Inbox): object {
subtitle: `Kill the Newsletter! Inbox “${token}@kill-the-newsletter.com”`, subtitle: `Kill the Newsletter! Inbox “${token}@kill-the-newsletter.com”`,
updated: now(), updated: now(),
...Entry({ ...Entry({
title: `#${name}” Inbox Created`, title: `${name}” Inbox Created`,
author: "Kill the Newsletter!", author: "Kill the Newsletter!",
content: ReactDOMServer.renderToStaticMarkup( content: ReactDOMServer.renderToStaticMarkup(
<Created inbox={inbox}></Created> <Created inbox={inbox}></Created>