chore: fix typo

This commit is contained in:
Timothy Lin committed 2021-07-11 17:55:56 +08:00
commit 16a4f962a8
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ const generateRssItem = (post) => `
<guid>${siteMetadata.siteUrl}/blog/${post.slug}</guid>
<title>${escape(post.title)}</title>
<link>${siteMetadata.siteUrl}/blog/${post.slug}</link>
${post.summary && <description>escape(post.summary)</description>}
${post.summary && `<description>${escape(post.summary)}</description>`}
<pubDate>${new Date(post.date).toUTCString()}</pubDate>
<author>${siteMetadata.email} (${siteMetadata.author})</author>
${post.tags && post.tags.map((t) => `<category>${t}</category>`).join('')}